Expose clear method for packed arrays
This commit is contained in:
@ -54,6 +54,12 @@
|
||||
[b]Note:[/b] Calling [method bsearch] on an unsorted array results in unexpected behavior.
|
||||
</description>
|
||||
</method>
|
||||
<method name="clear">
|
||||
<return type="void" />
|
||||
<description>
|
||||
Clears the array. This is equivalent to using [method resize] with a size of [code]0[/code].
|
||||
</description>
|
||||
</method>
|
||||
<method name="compress" qualifiers="const">
|
||||
<return type="PackedByteArray" />
|
||||
<param index="0" name="compression_mode" type="int" default="0" />
|
||||
|
||||
Reference in New Issue
Block a user