mirror of
https://github.com/google/flatbuffers.git
synced 2025-04-08 01:02:04 +08:00
11 lines
248 B
Python
11 lines
248 B
Python
from golden_utils import flatc_golden
|
|
|
|
|
|
def flatc(options, schema):
|
|
# Wrap the golden flatc generator with C++ specifics
|
|
flatc_golden(options=["--cpp"] + options, schema=schema, prefix="cpp")
|
|
|
|
|
|
def GenerateCpp():
|
|
flatc([], "basic.fbs")
|