wc-duck / datalibrary

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

Correct packing of default array-of-structs #112

Closed lundmark closed 5 years ago

lundmark commented 5 years ago

Sometimes with deep enough hierarchies the array-of-structs end up in poor offsets. This fixes that. I've tried to create a testcase for this but was unable to do so without copying basically my entire typelib and an example of it. Since that would take too much time to obfuscate, I can only add the fix for it.

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.001%) to 92.266% when pulling fa81658ea0f8112335eeb20a538e5a782460da2a on lundmark:master into 5029d27745cb8759d842b9319ad2c7765caddf8a on wc-duck:master.