c to d: types + struct/union alignment

bearophile bearophileHUGS at lycos.com
Wed Dec 30 16:40:58 PST 2009


Michael P.:
>Also, would short unsigned int be a 'ushort' then?<

In D ushort is an unsigned integer 16 bits long. While I think in C short unsigned int is not guaranteed to be 16 bit wide. The same is true for unsigned short / uint.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list