flatbuffers/goldens/csharp/generate.py

11 lines
256 B
Python
Raw Normal View History

2023-05-05 20:43:07 +00:00
from golden_utils import flatc_golden
def flatc(options, schema):
# Wrap the golden flatc generator with C# specifics
flatc_golden(options=["--csharp"] + options, schema=schema, prefix="csharp")
def GenerateCSharp():
flatc([], "basic.fbs")