diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2022-12-19 20:42:56 +0100 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2022-12-19 20:42:56 +0100 |
commit | fbadff454cf69b68fd45e67c1cd7bd7dcaf6b6ca (patch) | |
tree | 910543cd572ee260c4295507f63e71851ed5a7b0 /src/init_gdextension.cpp | |
parent | 61a6d25c47283157808701bfa8045a90ea7ba5cf (diff) | |
download | fork-godot-webrtc-native-fbadff454cf69b68fd45e67c1cd7bd7dcaf6b6ca.tar.gz fork-godot-webrtc-native-fbadff454cf69b68fd45e67c1cd7bd7dcaf6b6ca.tar.bz2 fork-godot-webrtc-native-fbadff454cf69b68fd45e67c1cd7bd7dcaf6b6ca.zip |
Update to Godot 4.0 beta9
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); |