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:
Fabio Alessandrelli
2021-09-29 14:27:57 +02:00
parent d18cbdf5e4
commit 0276c2e74a
5 changed files with 9 additions and 9 deletions

View File

@ -30,7 +30,7 @@
</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>
@ -38,7 +38,7 @@
</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>