wc-duck / datalibrary

Open Source Data Library for data serialization.
Other
42 stars 8 forks source link

DL Generates none-C-headers. #5

Closed lundmark closed 13 years ago

lundmark commented 13 years ago

Enums and structs are not on-par with the C-standard for how to define / use types. Example:

struct myStruct {};

struct myStruct2 { myStruct m_a; }

Is incorrect. The two solutions are: The struct "myStruct" must be typedef'ed to myStruct, or the m_a variable must be typed as struct myStruct. The same goes for enums.