summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-09-29 14:27:57 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-09-29 16:04:20 +0200
commit0276c2e74a3212a806119bccb659ceb9dcc25a41 (patch)
tree62b5beb8bf2cc35b45e88057e8b81b000cbd098e /modules
parentd18cbdf5e4a1132bfc5f581195f6bf7c3b9bed79 (diff)
Fix const pointers types in docs and extension API.
The GDVIRTUAL_NATIVE_PTR did not declare the correct GDNativeConstPtr template, resulting in "void*" being used as it's type info in both the documentation and the extension API dump.
Diffstat (limited to 'modules')
-rw-r--r--modules/webrtc/doc_classes/WebRTCDataChannelExtension.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/webrtc/doc_classes/WebRTCDataChannelExtension.xml b/modules/webrtc/doc_classes/WebRTCDataChannelExtension.xml
index 26a4391b83..746fabd6e5 100644
--- a/modules/webrtc/doc_classes/WebRTCDataChannelExtension.xml
+++ b/modules/webrtc/doc_classes/WebRTCDataChannelExtension.xml
@@ -49,7 +49,7 @@
</method>
<method name="_get_packet" qualifiers="virtual">
<return type="int" />
- <argument index="0" name="r_buffer" type="const void*" />
+ <argument index="0" name="r_buffer" type="const uint8_t **" />
<argument index="1" name="r_buffer_size" type="int32_t*" />
<description>
</description>
@@ -86,7 +86,7 @@
</method>
<method name="_put_packet" qualifiers="virtual">
<return type="int" />
- <argument index="0" name="p_buffer" type="const void*" />
+ <argument index="0" name="p_buffer" type="const uint8_t*" />
<argument index="1" name="p_buffer_size" type="int" />
<description>
</description>