Iup and nukclear interface in D.

David Nadlinger via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Thu Jun 23 16:01:16 PDT 2016


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


More information about the Digitalmars-d-announce mailing list