Re: Iup and nukclear interface in D.

2016-06-24 Thread mogu via Digitalmars-d-announce
On Thursday, 23 June 2016 at 20:04:51 UTC, Jordan Wilson wrote: On Thursday, 23 June 2016 at 06:32:09 UTC, mogu wrote: http://code.dlang.org/packages/iupd http://code.dlang.org/packages/nukleard iupd removes all deprecated items in IUP, current version is IUP 3.18. nukleard may have some bugs

Re: Iup and nukclear interface in D.

2016-06-23 Thread Mike Parker via Digitalmars-d-announce
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

Re: Iup and nukclear interface in D.

2016-06-23 Thread David Nadlinger via Digitalmars-d-announce
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

Re: Iup and nukclear interface in D.

2016-06-23 Thread Jordan Wilson via Digitalmars-d-announce
On Thursday, 23 June 2016 at 06:32:09 UTC, mogu wrote: http://code.dlang.org/packages/iupd http://code.dlang.org/packages/nukleard iupd removes all deprecated items in IUP, current version is IUP 3.18. nukleard may have some bugs in name mangling. Does a struct's field name like `null`, i

Re: Iup and nukclear interface in D.

2016-06-23 Thread mogu via Digitalmars-d-announce
On Thursday, 23 June 2016 at 08:14:42 UTC, Mike Parker wrote: On Thursday, 23 June 2016 at 06:32:09 UTC, mogu wrote: http://code.dlang.org/packages/iupd http://code.dlang.org/packages/nukleard A couple of points: * All of those 'static immutable' you have would be better as manifest

Re: Iup and nukclear interface in D.

2016-06-23 Thread Mike Parker via Digitalmars-d-announce
On Thursday, 23 June 2016 at 06:32:09 UTC, mogu wrote: http://code.dlang.org/packages/iupd http://code.dlang.org/packages/nukleard A couple of points: * All of those 'static immutable' you have would be better as manifest constants, or logically grouped in anonymous enums. The former are

Iup and nukclear interface in D.

2016-06-23 Thread mogu via Digitalmars-d-announce
http://code.dlang.org/packages/iupd http://code.dlang.org/packages/nukleard iupd removes all deprecated items in IUP, current version is IUP 3.18. nukleard may have some bugs in name mangling. Does a struct's field name like `null`, i changed it to null_, may be issue? Can pragma(mangle,