From f2799fdbb296fa764384ba085fcb46e19248b09a Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Tue, 14 Aug 2018 04:41:15 +0200 Subject: Fix name collision, scons file, final touches --- src/net/WebRTCPeerNative.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/WebRTCPeerNative.hpp') diff --git a/src/net/WebRTCPeerNative.hpp b/src/net/WebRTCPeerNative.hpp index e82f295..90e08b3 100644 --- a/src/net/WebRTCPeerNative.hpp +++ b/src/net/WebRTCPeerNative.hpp @@ -8,7 +8,7 @@ #include /* Forward declare interface functions */ -godot_error get_packet_wp(void *, const uint8_t **, int &); +godot_error get_packet_wp(void *, const uint8_t **, int *); godot_error put_packet_wp(void *, const uint8_t *, int); godot_int get_available_packet_count_wp(const void *); godot_int get_max_packet_size_wp(const void *); @@ -69,7 +69,7 @@ public: virtual godot_error poll() = 0; /* PacketPeer */ - virtual godot_error get_packet(const uint8_t **r_buffer, int &r_len) = 0; + virtual godot_error get_packet(const uint8_t **r_buffer, int *r_len) = 0; virtual godot_error put_packet(const uint8_t *p_buffer, int p_len) = 0; virtual godot_int get_available_packet_count() const = 0; virtual godot_int get_max_packet_size() const = 0; -- cgit v1.2.3