...

Text file src/github.com/google/flatbuffers/goldens/py/generate.py

Documentation: github.com/google/flatbuffers/goldens/py

     1from golden_utils import flatc_golden
     2
     3
     4def flatc(options, schema):
     5    # Wrap the golden flatc generator with Python specifics
     6    flatc_golden(options=["--python"] + options, schema=schema, prefix="py")
     7
     8
     9def GeneratePython():
    10    flatc([], "basic.fbs")

View as plain text