Sign in
fuchsia
/
third_party
/
github.com
/
google
/
flatbuffers
/
960cd4d635b98fc5daeeafee8b0a5601d45c70ad
/
.
/
goldens
/
swift
/
generate.py
blob: ccdb97e7758383fdda90571cddd57f9610a2ad10 [
file
] [
log
] [
blame
]
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"
)