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:
@@ -306,7 +306,7 @@ void Example::_bind_methods() {
|
||||
}
|
||||
|
||||
bool Example::has_object_instance_binding() const {
|
||||
return internal::gdextension_interface_object_get_instance_binding(_owner, internal::token, nullptr);
|
||||
return ::godot::gdextension_interface::object_get_instance_binding(_owner, ::godot::gdextension_interface::token, nullptr);
|
||||
}
|
||||
|
||||
Example::Example() :
|
||||
@@ -748,7 +748,7 @@ String Example::test_use_engine_singleton() const {
|
||||
|
||||
String Example::test_library_path() {
|
||||
String library_path;
|
||||
internal::gdextension_interface_get_library_path(internal::library, library_path._native_ptr());
|
||||
::godot::gdextension_interface::get_library_path(::godot::gdextension_interface::library, library_path._native_ptr());
|
||||
return library_path;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user