Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
flatbuffers
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
flatbuffers
Commits
b830dac2
Commit
b830dac2
authored
Oct 12, 2016
by
Wouter van Oortmerssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added missing generated code files.
Change-Id: Ifb977411b65f8721cf9db891d7a62798bd593c0c
parent
dc38f93c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
monster_generated.h
samples/monster_generated.h
+8
-0
monster_test.bfbs
tests/monster_test.bfbs
+0
-0
No files found.
samples/monster_generated.h
View file @
b830dac2
...
...
@@ -60,6 +60,14 @@ inline const char **EnumNamesEquipment() {
inline
const
char
*
EnumNameEquipment
(
Equipment
e
)
{
return
EnumNamesEquipment
()[
static_cast
<
int
>
(
e
)];
}
template
<
typename
T
>
struct
EquipmentTraits
{
static
const
Equipment
enum_value
=
Equipment_NONE
;
};
template
<>
struct
EquipmentTraits
<
Weapon
>
{
static
const
Equipment
enum_value
=
Equipment_Weapon
;
};
inline
bool
VerifyEquipment
(
flatbuffers
::
Verifier
&
verifier
,
const
void
*
union_obj
,
Equipment
type
);
MANUALLY_ALIGNED_STRUCT
(
4
)
Vec3
FLATBUFFERS_FINAL_CLASS
{
...
...
tests/monster_test.bfbs
View file @
b830dac2
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment