flatc 0.2.2+23.5.26

Vendored executable of flatbuffer's `flatc`.
Documentation
1
2
3
4
5
6
7
8
9
10
from golden_utils import flatc_golden


def flatc(options, schema):
    # Wrap the golden flatc generator with C# specifics
    flatc_golden(options=["--csharp"] + options, schema=schema, prefix="csharp")


def GenerateCSharp():
    flatc([], "basic.fbs")