wc-duck / datalibrary

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

Add size verification for externals #62

Closed lundmark closed 6 years ago

lundmark commented 6 years ago

I wouldn't mind the option to have externals tested to be the correct size, if they are ever used as members in other structs.

Such as if I make a vector3 type it should add a verification assert that says like assert(sizeof(vector3) == "insert calculated size of vector3 here");

lundmark commented 6 years ago

This is already implemented. My bad.