blob: 356f6f85eb57c745a9ab05d92f52e6b65f1f98f9 [file] [log] [blame]
library example;
struct OneStringOfMaxLengthFive {
string:5 the_string;
};
struct StructOnlyPrimitives {
int32 i;
bool b;
uint16 u;
};
table TableOnlyPrimitives {
1: int32 i;
2: bool b;
3: uint16 u;
};
flexible union UnionOnlyPrimitives {
1: int32 i;
2: bool b;
3: uint16 u;
};
flexible union UnionWithTableStructString {
1: StructOnlyPrimitives struct;
2: TableOnlyPrimitives table;
3: UnionOnlyPrimitives union;
};