summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2018-08-12 07:31:37 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2018-08-12 07:31:37 +0200
commit1885036052b24cbe804bb829a32ba2617eac3fe4 (patch)
tree8acdcf8d3ce110c53ebd99a8cfe84b3148a81dcd /src
parentfaac4c97e5e3bf897aceaaf94a2e27d94910cd31 (diff)
downloadfork-godot-webrtc-native-1885036052b24cbe804bb829a32ba2617eac3fe4.tar.gz
fork-godot-webrtc-native-1885036052b24cbe804bb829a32ba2617eac3fe4.tar.bz2
fork-godot-webrtc-native-1885036052b24cbe804bb829a32ba2617eac3fe4.zip
Add missing struct initializers
Diffstat (limited to 'src')
-rw-r--r--src/net/WebRTCPeerNative.hpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/net/WebRTCPeerNative.hpp b/src/net/WebRTCPeerNative.hpp
index 6339a2f..6387cb1 100644
--- a/src/net/WebRTCPeerNative.hpp
+++ b/src/net/WebRTCPeerNative.hpp
@@ -31,11 +31,23 @@ protected:
godot_net_webrtc_peer interface = {
{3, 1},
this,
+
&get_packet_wp,
&put_packet_wp,
&get_available_packet_count_wp,
&get_max_packet_size_wp,
- NULL
+
+ &set_write_mode_wp,
+ &get_write_mode_wp,
+ &was_string_packet_wp,
+ &get_connection_state_wp,
+
+ &create_offer_wp,
+ &set_remote_description_wp,
+ &set_local_description_wp,
+ &add_ice_candidate_wp,
+ &poll_wp,
+ NULL,
};
public: