Fix incorrect padding in arrays of structs (Issue #5484) (#5491)

This commit is contained in:
svenk177
2019-08-23 19:46:47 +02:00
committed by Wouter van Oortmerssen
parent b97b342f59
commit 4525c91be3
16 changed files with 228 additions and 57 deletions

View File

@@ -6,6 +6,7 @@ struct NestedStruct{
a:[int:2];
b:TestEnum;
c:[TestEnum:2];
d:[int64:2];
}
struct ArrayStruct{
@@ -13,6 +14,8 @@ struct ArrayStruct{
b:[int:0xF];
c:byte;
d:[NestedStruct:2];
e:int32;
f:[int64:2];
}
table ArrayTable{