You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
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.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user