...

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

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

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

View as plain text