...

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

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

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

View as plain text