extern(C) enum

bitwise via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Sep 15 04:15:57 UTC 2017


I translated the headers for FreeType2 to D, and in many cases, 
enums are used as struct members.

If I declare an extern(C) enum in D, is it guaranteed to have the 
same underlying type and size as it would for a C compiler on the 
same platform?




More information about the Digitalmars-d-learn mailing list