Bind Array get and set functions

This commit is contained in:
Aaron Franke
2024-08-21 19:26:21 -07:00
parent 506d6e427a
commit cc9f2b58a0
13 changed files with 124 additions and 0 deletions

View File

@@ -90,6 +90,13 @@
Searches the array for a value and returns its index or [code]-1[/code] if not found. Optionally, the initial search index can be passed.
</description>
</method>
<method name="get" qualifiers="const">
<return type="int" />
<param index="0" name="index" type="int" />
<description>
Returns the 32-bit integer at the given [param index] in the array. This is the same as using the [code][][/code] operator ([code]array[index][/code]).
</description>
</method>
<method name="has" qualifiers="const">
<return type="bool" />
<param index="0" name="value" type="int" />