Revert "Add get_buffered_amount() to WebRTCDataChannel"

This reverts commit ec43f875e5.
This commit is contained in:
Rémi Verschelde
2021-08-19 22:24:10 +02:00
parent 2840b31344
commit 134212db03
2 changed files with 1 additions and 21 deletions

View File

@@ -187025,19 +187025,6 @@
"arguments": [
]
},
{
"name": "get_buffered_amount",
"return_type": "int",
"is_editor": false,
"is_noscript": false,
"is_const": true,
"is_reverse": false,
"is_virtual": false,
"has_varargs": false,
"is_from_script": false,
"arguments": [
]
},
{
"name": "get_id",
"return_type": "int",

View File

@@ -38,7 +38,7 @@ extern "C" {
#endif
#define GODOT_NET_WEBRTC_API_MAJOR 3
#define GODOT_NET_WEBRTC_API_MINOR 4
#define GODOT_NET_WEBRTC_API_MINOR 2
/* Library Interface (used to set default GDNative WebRTC implementation */
typedef struct {
@@ -108,13 +108,6 @@ typedef struct {
void *next; /* For extension? */
} godot_net_webrtc_data_channel;
/* Extensions to WebRTCDataChannel */
typedef struct {
int (*get_buffered_amount)(const void *);
void *next; /* For extension? */
} godot_net_webrtc_data_channel_ext;
/* Set the default GDNative library */
godot_error GDAPI godot_net_set_webrtc_library(const godot_net_webrtc_library *);
/* Binds a WebRTCPeerConnectionGDNative to the provided interface */