mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-04 04:33:23 +00:00
* Added cpp minified enums * Update generated files * remove initializer and fix comma * Fix .gitignore * Fix comma * Add tests for cpp minify enums
27 lines
734 B
C
27 lines
734 B
C
// 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_
|