From c30ddd9b222cc8d1c12ac077541f563bd9ca505b Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Fri, 12 Apr 2019 01:29:58 +0200 Subject: Update GDNative bind. The GDNative bind was moved to the "next" version of the extention for compatibility reasons. --- src/net/WebRTCPeerNative.cpp | 2 +- src/net/WebRTCPeerNative.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net') diff --git a/src/net/WebRTCPeerNative.cpp b/src/net/WebRTCPeerNative.cpp index 449cca2..a0872bc 100644 --- a/src/net/WebRTCPeerNative.cpp +++ b/src/net/WebRTCPeerNative.cpp @@ -1,6 +1,6 @@ #include "WebRTCPeerNative.hpp" -const godot_gdnative_ext_net_api_struct *WebRTCPeerNative::_net_api = NULL; +const godot_gdnative_ext_net_3_2_api_struct *WebRTCPeerNative::_net_api = NULL; void WebRTCPeerNative::register_interface(const godot_net_webrtc_peer *p_interface) { ERR_FAIL_COND(!_net_api); diff --git a/src/net/WebRTCPeerNative.hpp b/src/net/WebRTCPeerNative.hpp index 90e08b3..d5f2c6f 100644 --- a/src/net/WebRTCPeerNative.hpp +++ b/src/net/WebRTCPeerNative.hpp @@ -52,7 +52,7 @@ protected: public: static void _register_methods(); - static const godot_gdnative_ext_net_api_struct *_net_api; + static const godot_gdnative_ext_net_3_2_api_struct *_net_api; void _init(); void register_interface(const godot_net_webrtc_peer *interface); -- cgit v1.2.3