aboutsummaryrefslogtreecommitdiff
path: root/flatcc/doc/eclectic.fbs
blob: 26ecd856d88c8f38f9d0a677f96fa2c92bd1f154 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
        namespace Eclectic;

        enum Fruit : byte { Banana = -1, Orange = 42 }
        table FooBar {
            meal      : Fruit = Banana;
            density   : long (deprecated);
            say       : string;
            height    : short;
        }
        file_identifier "NOOB";
        root_type FooBar;