C++ interop - what to do about long and unsigned long?

Adam D. Ruppe via Digitalmars-d digitalmars-d at puremagic.com
Wed Sep 10 14:11:12 PDT 2014


On Wednesday, 10 September 2014 at 20:41:45 UTC, Walter Bright 
wrote:
> 2. create full fledged types __c_long and __c_ulong, and alias 
> c_long and c_ulong to them.

That's what I'd do. Should have best compatibility too with other 
definitions of c_long in third party libs.


More information about the Digitalmars-d mailing list