Iup and nukclear interface in D.

Mike Parker via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Thu Jun 23 17:04:16 PDT 2016


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.


More information about the Digitalmars-d-announce mailing list