summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorWouter van Oortmerssen <aardappel@gmail.com>2017-09-25 11:44:58 -0700
committerWouter van Oortmerssen <aardappel@gmail.com>2017-09-25 11:44:58 -0700
commit7a6b2bf521e95097a92ec848001531b2dcf0f3fa (patch)
treeca4c66b6ad274b55140c300a399089be29120242 /samples
parent03e2899985849dbffa3178ae76c00288f7aca79b (diff)
downloadflatbuffers-7a6b2bf521e95097a92ec848001531b2dcf0f3fa.tar.gz
flatbuffers-7a6b2bf521e95097a92ec848001531b2dcf0f3fa.tar.bz2
flatbuffers-7a6b2bf521e95097a92ec848001531b2dcf0f3fa.zip
Fixed TypeTable function not being inline.
Change-Id: Id335980daf909e885ed26a21b64623b78d01fb49 Tested: on OS X.
Diffstat (limited to 'samples')
-rw-r--r--samples/monster_generated.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/samples/monster_generated.h b/samples/monster_generated.h
index 0560d46a..4d49171b 100644
--- a/samples/monster_generated.h
+++ b/samples/monster_generated.h
@@ -605,13 +605,13 @@ inline void EquipmentUnion::Reset() {
type = Equipment_NONE;
}
-flatbuffers::TypeTable *Vec3TypeTable();
+inline flatbuffers::TypeTable *Vec3TypeTable();
-flatbuffers::TypeTable *MonsterTypeTable();
+inline flatbuffers::TypeTable *MonsterTypeTable();
-flatbuffers::TypeTable *WeaponTypeTable();
+inline flatbuffers::TypeTable *WeaponTypeTable();
-flatbuffers::TypeTable *ColorTypeTable() {
+inline flatbuffers::TypeTable *ColorTypeTable() {
static flatbuffers::TypeCode type_codes[] = {
{ flatbuffers::ET_CHAR, 0, 0 },
{ flatbuffers::ET_CHAR, 0, 0 },
@@ -631,7 +631,7 @@ flatbuffers::TypeTable *ColorTypeTable() {
return &tt;
}
-flatbuffers::TypeTable *EquipmentTypeTable() {
+inline flatbuffers::TypeTable *EquipmentTypeTable() {
static flatbuffers::TypeCode type_codes[] = {
{ flatbuffers::ET_SEQUENCE, 0, -1 },
{ flatbuffers::ET_SEQUENCE, 0, 0 }
@@ -649,7 +649,7 @@ flatbuffers::TypeTable *EquipmentTypeTable() {
return &tt;
}
-flatbuffers::TypeTable *Vec3TypeTable() {
+inline flatbuffers::TypeTable *Vec3TypeTable() {
static flatbuffers::TypeCode type_codes[] = {
{ flatbuffers::ET_FLOAT, 0, -1 },
{ flatbuffers::ET_FLOAT, 0, -1 },
@@ -667,7 +667,7 @@ flatbuffers::TypeTable *Vec3TypeTable() {
return &tt;
}
-flatbuffers::TypeTable *MonsterTypeTable() {
+inline flatbuffers::TypeTable *MonsterTypeTable() {
static flatbuffers::TypeCode type_codes[] = {
{ flatbuffers::ET_SEQUENCE, 0, 0 },
{ flatbuffers::ET_SHORT, 0, -1 },
@@ -704,7 +704,7 @@ flatbuffers::TypeTable *MonsterTypeTable() {
return &tt;
}
-flatbuffers::TypeTable *WeaponTypeTable() {
+inline flatbuffers::TypeTable *WeaponTypeTable() {
static flatbuffers::TypeCode type_codes[] = {
{ flatbuffers::ET_STRING, 0, -1 },
{ flatbuffers::ET_SHORT, 0, -1 }