...

Text file src/github.com/google/flatbuffers/tests/monster_extra.fbs

Documentation: github.com/google/flatbuffers/tests

     1namespace MyGame;
     2
     3// Not all programming languages support this extra table.
     4table MonsterExtra {
     5  // Float-point values with NaN and Inf defaults.
     6  d0:double = nan;
     7  d1:double = -nan; // parser must ignore sign of NaN
     8  d2:double = +inf;
     9  d3:double = -inf;
    10  f0:float = -nan; // parser must ignore sign of NaN
    11  f1:float = +nan;
    12  f2:float = +inf;
    13  f3:float = -inf;
    14  dvec : [double];
    15  fvec : [float];
    16  deprec:int (deprecated);
    17}
    18
    19root_type MonsterExtra;
    20
    21file_identifier "MONE";
    22file_extension "mon";

View as plain text