On Wednesday, 11 January 2017 at 23:12:30 UTC, Nordlöw wrote:
On Wednesday, 11 January 2017 at 22:19:58 UTC, Andrew Hall wrote:
also, why nogc?

Because C-functions never use the D garbage collector :)

They should also be marked nothrow. That and @nogc should generally be applied to all C function bindings, but pure only on those which actually are pure.

Reply via email to