Hello Jason,

In D, both type size and alignment have the same defaults on all
platforms. If desired, alignment can be explicitly controlled with the
align attribute. Similarly, use of specific types control sizes.


Ummm? IIRC, struct alignment follows the lead of the "native compiler" for the given system. That is, type size issues aside, structs without align directive can be passed from C to D by default.


Reply via email to