wc-duck / datalibrary

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

Max member size on struct is 64 #133

Closed lundmark closed 4 years ago

lundmark commented 4 years ago

And this is implicit, not documented and not errored/warned anywhere.

This is used when packing an instance there's a bitfield that's 64 bits long that's used to mark members used/not used.

wc-duck commented 4 years ago

That limit can absolutely be increased and handled, but I wonder, is 64 enough? I guess not as you have reached the limit?

wc-duck commented 4 years ago

Added a check when building the typelib + upped the maximum amount of members to 2048, that should be enough for anyone ;)