diff options
Diffstat (limited to 'src/init_gdextension.cpp')
-rw-r--r-- | src/init_gdextension.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |