Iup and nukclear interface in D.

mogu via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Thu Jun 23 01:57:05 PDT 2016


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 constants, or logically grouped in anonymous enums. 
> The former are lvalues and will wind up in the data segment, 
> but you likely don't need them to be.
>
> * extern(C) functions should, at a minimum, be declared as 
> @nogc and nothrow for client code using those attributes.

Thx, iup is the first project i tried to binding in D. So it has 
so many issues. They all be reconsidered in nuklear binding. 
Also, i'll fix iup binding after some busy company work.


More information about the Digitalmars-d-announce mailing list