On Thursday, 23 June 2016 at 23:01:16 UTC, David Nadlinger wrote:
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.


True. I should have added that caveat myself.

Reply via email to