summaryrefslogtreecommitdiff
path: root/src/net/WebRTCDataChannelNative.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/WebRTCDataChannelNative.cpp')
-rw-r--r--src/net/WebRTCDataChannelNative.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/WebRTCDataChannelNative.cpp b/src/net/WebRTCDataChannelNative.cpp
index 86d0afa..4e6b114 100644
--- a/src/net/WebRTCDataChannelNative.cpp
+++ b/src/net/WebRTCDataChannelNative.cpp
@@ -113,6 +113,10 @@ bool is_negotiated_wdc(const void *user) {
return ((WebRTCDataChannelNative *)user)->is_negotiated();
}
+int get_buffered_amount_wdc(const void *user) {
+ return ((WebRTCDataChannelNative *)user)->get_buffered_amount();
+}
+
godot_error poll_wdc(void *user) {
return ((WebRTCDataChannelNative *)user)->poll();
}