...

Text file src/github.com/google/flatbuffers/tests/minified_enums/enums_generated.h

Documentation: github.com/google/flatbuffers/tests/minified_enums

     1// automatically generated by the FlatBuffers compiler, do not modify
     2
     3
     4#ifndef FLATBUFFERS_GENERATED_ENUMS_H_
     5#define FLATBUFFERS_GENERATED_ENUMS_H_
     6
     7#include "flatbuffers/flatbuffers.h"
     8
     9// Ensure the included flatbuffers.h is the same version as when this file was
    10// generated, otherwise it may not be compatible.
    11static_assert(FLATBUFFERS_VERSION_MAJOR == 22 &&
    12              FLATBUFFERS_VERSION_MINOR == 9 &&
    13              FLATBUFFERS_VERSION_REVISION == 29,
    14             "Non-compatible flatbuffers version included");
    15
    16enum Color : int32_t {
    17  Color_Red = 1,
    18  Color_Blue = 2,
    19  Color_Orange = 3
    20};
    21enum Size : int32_t {
    22  Size_Small = 10,
    23  Size_Large = 100,
    24  Size_Medium = 1000
    25};
    26#endif  // FLATBUFFERS_GENERATED_ENUMS_H_

View as plain text