C callbacks getting a value of 0! Bug in D?

Moritz Maxeiner via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Aug 28 19:58:47 PDT 2017


On Tuesday, 29 August 2017 at 02:47:34 UTC, Johnson Jones wrote:
> [...]
>
> Seems only long and ulong are issues.

With respect to the currently major platforms you can reasonable 
expect software to run on, yes.
Just don't try to use D on something with e.g. 32 bit C shorts 
unless you bind to it via c_short.


More information about the Digitalmars-d-learn mailing list