diff options
m--------- | godot-cpp | 0 | ||||
-rw-r--r-- | src/init_gdextension.cpp | 4 |
2 files changed, 2 insertions, 2 deletions
diff --git a/godot-cpp b/godot-cpp -Subproject c20ecea090dc0d6fa31f4b72b95dc1f30473654 +Subproject 02336831735fd6affbe0a6fa252ec98d3e78120 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 <godot/gdnative_interface.h> +#include <gdextension_interface.h> #include <godot_cpp/core/class_db.hpp> #include <godot_cpp/core/defs.hpp> @@ -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); |