1from golden_utils import flatc_golden 2 3 4def flatc(options, schema): 5 # Wrap the golden flatc generator with Swift specifics 6 flatc_golden(options=["--swift"] + options, schema=schema, prefix="swift") 7 8 9def GenerateSwift(): 10 flatc([], "basic.fbs")