Sign in
pigweed
/
third_party
/
github
/
google
/
flatbuffers
/
e5a9ff757f94ec6f3fb62c8f2c8a9618fc6d63e2
/
.
/
goldens
/
nim
/
generate.py
blob: 5aef75b1bec724a330ab5bbfa8f13ed53e923ee5 [
file
]
from
golden_utils
import
flatc_golden
def
flatc
(
options
,
schema
):
# Wrap the golden flatc generator with Nim specifics
flatc_golden
(
options
=[
"--nim"
]
+
options
,
schema
=
schema
,
prefix
=
"nim"
)
def
GenerateNim
():
flatc
([],
"basic.fbs"
)