diff --git a/godot-cpp b/godot-cpp index c20ecea..0233683 160000 --- a/godot-cpp +++ b/godot-cpp @@ -1 +1 @@ -Subproject commit c20ecea090dc0d6fa31f4b72b95dc1f304736546 +Subproject commit 02336831735fd6affbe0a6fa252ec98d3e78120c diff --git a/src/init_gdextension.cpp b/src/init_gdextension.cpp index b252379..72c816a 100644 --- a/src/init_gdextension.cpp +++ b/src/init_gdextension.cpp @@ -28,7 +28,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include +#include #include #include @@ -66,7 +66,7 @@ void unregister_webrtc_extension_types(ModuleInitializationLevel p_level) { } extern "C" { -GDNativeBool GDN_EXPORT webrtc_extension_init(const GDNativeInterface *p_interface, const GDNativeExtensionClassLibraryPtr p_library, GDNativeInitialization *r_initialization) { +GDExtensionBool GDE_EXPORT webrtc_extension_init(const GDExtensionInterface *p_interface, const GDExtensionClassLibraryPtr p_library, GDExtensionInitialization *r_initialization) { GDExtensionBinding::InitObject init_obj(p_interface, p_library, r_initialization); init_obj.register_initializer(register_webrtc_extension_types);