Skip to content

Commit

Permalink
Merge pull request #53217 from Faless/ext/fix_pointer_info
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga authored Sep 29, 2021
2 parents 27d4e2f + 0276c2e commit 2fc31fd
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion core/variant/native_ptr.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ struct GDNativePtr {

#define GDVIRTUAL_NATIVE_PTR(m_type) \
template <> \
struct GDNativeConstPtr<m_type> { \
struct GDNativeConstPtr<const m_type> { \
const m_type *data = nullptr; \
GDNativeConstPtr(const m_type *p_assign) { data = p_assign; } \
static const char *get_name() { return "const " #m_type; } \
Expand Down
4 changes: 2 additions & 2 deletions doc/classes/MultiplayerPeerExtension.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,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>
Expand Down Expand Up @@ -66,7 +66,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>
Expand Down
4 changes: 2 additions & 2 deletions doc/classes/PacketPeerExtension.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
</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>
</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>
Expand Down
4 changes: 2 additions & 2 deletions doc/classes/StreamPeerExtension.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@
</method>
<method name="_put_data" qualifiers="virtual">
<return type="int" />
<argument index="0" name="p_data" type="const void*" />
<argument index="0" name="p_data" type="const uint8_t*" />
<argument index="1" name="p_bytes" type="int" />
<argument index="2" name="r_sent" type="int32_t*" />
<description>
</description>
</method>
<method name="_put_partial_data" qualifiers="virtual">
<return type="int" />
<argument index="0" name="p_data" type="const void*" />
<argument index="0" name="p_data" type="const uint8_t*" />
<argument index="1" name="p_bytes" type="int" />
<argument index="2" name="r_sent" type="int32_t*" />
<description>
Expand Down
4 changes: 2 additions & 2 deletions modules/webrtc/doc_classes/WebRTCDataChannelExtension.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit 2fc31fd

Please sign in to comment.