summaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2019-03-08 15:20:53 +0100
committerGitHub <noreply@github.com>2019-03-08 15:20:53 +0100
commit31821b094b1810b829fbb0fa8d217a9692c8816a (patch)
tree8ab05706e0c067d30b31679b5cfbd95a2fa49f2c /src/init.cpp
parenta44a5af115871b5be4dcfb05a421046a25ba5d73 (diff)
parentf2799fdbb296fa764384ba085fcb46e19248b09a (diff)
downloadgodot-webrtc-native-31821b094b1810b829fbb0fa8d217a9692c8816a.tar.gz
godot-webrtc-native-31821b094b1810b829fbb0fa8d217a9692c8816a.tar.bz2
godot-webrtc-native-31821b094b1810b829fbb0fa8d217a9692c8816a.zip
Merge pull request #1 from godotengine/bmakin_import
Import GSoC 2018 work
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 60aaf45..ec6998b 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1,6 +1,6 @@
-#include <gdnative_api_struct.gen.h>
+#include "WebRTCLibPeer.hpp"
#include "net/WebRTCPeerNative.hpp"
-#include "WebRTCPeer.hpp"
+#include <gdnative_api_struct.gen.h>
/* Godot export stuff */
extern "C" void GDN_EXPORT godot_gdnative_init(godot_gdnative_init_options *o) {
@@ -21,5 +21,5 @@ extern "C" void GDN_EXPORT godot_gdnative_terminate(godot_gdnative_terminate_opt
extern "C" void GDN_EXPORT godot_nativescript_init(void *handle) {
godot::Godot::nativescript_init(handle);
- godot::register_class<godot_webrtc::WebRTCPeer>();
+ godot::register_class<godot_webrtc::WebRTCLibPeer>();
}