From 1885036052b24cbe804bb829a32ba2617eac3fe4 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Sun, 12 Aug 2018 07:31:37 +0200 Subject: Add missing struct initializers --- src/net/WebRTCPeerNative.hpp | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src') 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: -- cgit v1.2.3