aboutsummaryrefslogtreecommitdiff
path: root/extension/src
diff options
context:
space:
mode:
author BrickPi <49528459+BrickPi@users.noreply.github.com>2023-07-06 22:36:49 +0200
committer GitHub <noreply@github.com>2023-07-06 22:36:49 +0200
commit5838c2508682bc3f6e35e44056f9ba229bca4571 (patch)
treef81a638162670bbb817b7b8d49ea2717ed3d3c4f /extension/src
parent432000a3ab73980fc6421b3587de4b97af30d3ad (diff)
parent18ff6fb2fa03335d8a42440aec9f0dcb77f42c3a (diff)
Merge pull request #134 from OpenVicProject/godot-4.1
Update to Godot 4.1
Diffstat (limited to 'extension/src')
-rw-r--r--extension/src/register_types.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/extension/src/register_types.cpp b/extension/src/register_types.cpp
index 3283418..92c25a4 100644
--- a/extension/src/register_types.cpp
+++ b/extension/src/register_types.cpp
@@ -51,8 +51,8 @@ void uninitialize_openvic_types(ModuleInitializationLevel p_level) {
extern "C" {
// Initialization.
- GDExtensionBool GDE_EXPORT openvic_library_init(GDExtensionInterface const* p_interface, const GDExtensionClassLibraryPtr p_library, GDExtensionInitialization* r_initialization) {
- GDExtensionBinding::InitObject init_obj(p_interface, p_library, r_initialization);
+ GDExtensionBool GDE_EXPORT openvic_library_init(GDExtensionInterfaceGetProcAddress p_get_proc_address, GDExtensionClassLibraryPtr p_library, GDExtensionInitialization* r_initialization) {
+ GDExtensionBinding::InitObject init_obj(p_get_proc_address, p_library, r_initialization);
init_obj.register_initializer(initialize_openvic_types);
init_obj.register_terminator(uninitialize_openvic_types);