Sign in
fuchsia
/
third_party
/
github.com
/
google
/
flatbuffers
/
refs/heads/main
/
.
/
goldens
/
cpp
/
generate.py
blob: c71dbc61080a9fcbb22a3767cbee93a8bb30c5f5 [
file
] [
log
] [
blame
] [
edit
]
from
golden_utils
import
flatc_golden
def
flatc
(
options
,
schema
):
# Wrap the golden flatc generator with C++ specifics
flatc_golden
(
options
=[
"--cpp"
]
+
options
,
schema
=
schema
,
prefix
=
"cpp"
)
def
GenerateCpp
():
flatc
([],
"basic.fbs"
)