Squashed 'third_party/flatbuffers/' content from commit 595bf0007
git-subtree-dir: third_party/flatbuffers git-subtree-split: 595bf0007ab1929570c7671f091313c8fc20644e
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
enum Color : int {Red = 1, Blue, Orange}
|
||||
|
||||
enum Size: int {Small = 10, Large = 100, Medium = 1000}
|
||||
@@ -0,0 +1,26 @@
|
||||
// automatically generated by the FlatBuffers compiler, do not modify
|
||||
|
||||
|
||||
#ifndef FLATBUFFERS_GENERATED_ENUMS_H_
|
||||
#define FLATBUFFERS_GENERATED_ENUMS_H_
|
||||
|
||||
#include "flatbuffers/flatbuffers.h"
|
||||
|
||||
// Ensure the included flatbuffers.h is the same version as when this file was
|
||||
// generated, otherwise it may not be compatible.
|
||||
static_assert(FLATBUFFERS_VERSION_MAJOR == 22 &&
|
||||
FLATBUFFERS_VERSION_MINOR == 9 &&
|
||||
FLATBUFFERS_VERSION_REVISION == 29,
|
||||
"Non-compatible flatbuffers version included");
|
||||
|
||||
enum Color : int32_t {
|
||||
Color_Red = 1,
|
||||
Color_Blue = 2,
|
||||
Color_Orange = 3
|
||||
};
|
||||
enum Size : int32_t {
|
||||
Size_Small = 10,
|
||||
Size_Large = 100,
|
||||
Size_Medium = 1000
|
||||
};
|
||||
#endif // FLATBUFFERS_GENERATED_ENUMS_H_
|
||||
Reference in New Issue
Block a user