...

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

Documentation: github.com/google/flatbuffers/tests

     1native_include "native_type_test_impl.h";
     2
     3namespace Geometry;
     4
     5struct Vector3D (native_type:"Native::Vector3D") {
     6  x:float;
     7  y:float;
     8  z:float;
     9}
    10
    11struct Vector3DAlt (native_type:"Native::Vector3D", native_type_pack_name:"Vector3DAlt") {
    12  a:float;
    13  b:float;
    14  c:float;
    15}
    16
    17table ApplicationData {
    18  vectors:[Vector3D];
    19  vectors_alt:[Vector3DAlt];
    20}
    21
    22root_type ApplicationData;

View as plain text