D int and C/C++ int etc not really compatible when interfacing to C/C++

via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Nov 2 03:59:25 PST 2014


On Saturday, 1 November 2014 at 21:00:54 UTC, Kagamin wrote:
> D claims compatibility with system C compiler, which usually 
> have 32-bit int.

... and for C/C++ long which can be 32 or 64 bit, DMD recently 
introduced the types c_long and c_ulong. (Not released yet.)


More information about the Digitalmars-d-learn mailing list