On Thursday, 23 June 2016 at 08:14:42 UTC, Mike Parker wrote:
* extern(C) functions should, at a minimum, be declared as @nogc and nothrow for client code using those attributes.

Be careful, though, if the C library supports user-specified callbacks to be set for some functionality – unless you also require those to be @nogc, that guarantee could easily be violated.

 — David

Reply via email to