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