mirror of
https://github.com/godotengine/godot-cpp.git
synced 2026-01-01 05:48:37 +03:00
Generate GDExtension interface header and loader from JSON
This commit is contained in:
@@ -10,6 +10,7 @@ from binding_generator import _generate_bindings, _get_file_list
|
||||
from build_profile import generate_trimmed_api
|
||||
|
||||
api_filepath = "gdextension/extension_api.json"
|
||||
interface_filepath = "gdextension/gdextension_interface.json"
|
||||
bits = "64"
|
||||
precision = "single"
|
||||
output_dir = "self_test"
|
||||
@@ -20,6 +21,7 @@ def test(profile_filepath=""):
|
||||
_generate_bindings(
|
||||
api,
|
||||
api_filepath,
|
||||
interface_filepath,
|
||||
use_template_get_node=False,
|
||||
bits=bits,
|
||||
precision=precision,
|
||||
|
||||
Reference in New Issue
Block a user