Files
flatbuffers/goldens/swift/generate.py
2025-09-23 21:50:27 -07:00

11 lines
250 B
Python

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")