Files
flatbuffers/goldens/kotlin/generate.py
2023-05-05 14:15:48 -07:00

11 lines
260 B
Python

from golden_utils import flatc_golden
def flatc(options, schema):
# Wrap the golden flatc generator with Kotlin specifics
flatc_golden(options=["--kotlin"] + options, schema=schema, prefix="kotlin")
def GenerateKotlin():
flatc([], "basic.fbs")