diff options
author | Mark Nauwelaerts <mark.nauwelaerts@gmail.com> | 2020-09-23 02:57:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-22 17:57:01 -0700 |
commit | 34d67b425e22ab8406eacc0a3a95e5bd60fd3300 (patch) | |
tree | 208d35ab48168751653c893c0f0de93cd01a55be /samples | |
parent | 96d5e359773987314c25fa5181adb77c064ac625 (diff) | |
download | flatbuffers-34d67b425e22ab8406eacc0a3a95e5bd60fd3300.tar.gz flatbuffers-34d67b425e22ab8406eacc0a3a95e5bd60fd3300.tar.bz2 flatbuffers-34d67b425e22ab8406eacc0a3a95e5bd60fd3300.zip |
Minireflect fixed array (#6129)
* CMakeLists: also really generate optional_scalars as needed by test elsewhere
* [C++] Handle fixed-length array in minireflection
Fixes #6128
Diffstat (limited to 'samples')
-rw-r--r-- | samples/monster_generated.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/samples/monster_generated.h b/samples/monster_generated.h index 42482f6e..531d65fd 100644 --- a/samples/monster_generated.h +++ b/samples/monster_generated.h @@ -733,7 +733,7 @@ inline const flatbuffers::TypeTable *ColorTypeTable() { "Blue" }; static const flatbuffers::TypeTable tt = { - flatbuffers::ST_ENUM, 3, type_codes, type_refs, nullptr, names + flatbuffers::ST_ENUM, 3, type_codes, type_refs, nullptr, nullptr, names }; return &tt; } @@ -751,7 +751,7 @@ inline const flatbuffers::TypeTable *EquipmentTypeTable() { "Weapon" }; static const flatbuffers::TypeTable tt = { - flatbuffers::ST_UNION, 2, type_codes, type_refs, nullptr, names + flatbuffers::ST_UNION, 2, type_codes, type_refs, nullptr, nullptr, names }; return &tt; } @@ -769,7 +769,7 @@ inline const flatbuffers::TypeTable *Vec3TypeTable() { "z" }; static const flatbuffers::TypeTable tt = { - flatbuffers::ST_STRUCT, 3, type_codes, nullptr, values, names + flatbuffers::ST_STRUCT, 3, type_codes, nullptr, nullptr, values, names }; return &tt; } @@ -808,7 +808,7 @@ inline const flatbuffers::TypeTable *MonsterTypeTable() { "path" }; static const flatbuffers::TypeTable tt = { - flatbuffers::ST_TABLE, 11, type_codes, type_refs, nullptr, names + flatbuffers::ST_TABLE, 11, type_codes, type_refs, nullptr, nullptr, names }; return &tt; } @@ -823,7 +823,7 @@ inline const flatbuffers::TypeTable *WeaponTypeTable() { "damage" }; static const flatbuffers::TypeTable tt = { - flatbuffers::ST_TABLE, 2, type_codes, nullptr, nullptr, names + flatbuffers::ST_TABLE, 2, type_codes, nullptr, nullptr, nullptr, names }; return &tt; } |