Make Vector bsearch method const.

This commit is contained in:
Lukas Tenbrink
2025-11-08 12:26:28 +01:00
parent 22a28e07cc
commit 109d3d8530
13 changed files with 60 additions and 29 deletions

View File

@ -47,7 +47,7 @@
Appends a [PackedByteArray] at the end of this array.
</description>
</method>
<method name="bsearch">
<method name="bsearch" qualifiers="const">
<return type="int" />
<param index="0" name="value" type="int" />
<param index="1" name="before" type="bool" default="true" />

View File

@ -51,7 +51,7 @@
Appends a [PackedColorArray] at the end of this array.
</description>
</method>
<method name="bsearch">
<method name="bsearch" qualifiers="const">
<return type="int" />
<param index="0" name="value" type="Color" />
<param index="1" name="before" type="bool" default="true" />

View File

@ -47,7 +47,7 @@
Appends a [PackedFloat32Array] at the end of this array.
</description>
</method>
<method name="bsearch">
<method name="bsearch" qualifiers="const">
<return type="int" />
<param index="0" name="value" type="float" />
<param index="1" name="before" type="bool" default="true" />

View File

@ -48,7 +48,7 @@
Appends a [PackedFloat64Array] at the end of this array.
</description>
</method>
<method name="bsearch">
<method name="bsearch" qualifiers="const">
<return type="int" />
<param index="0" name="value" type="float" />
<param index="1" name="before" type="bool" default="true" />

View File

@ -47,7 +47,7 @@
Appends a [PackedInt32Array] at the end of this array.
</description>
</method>
<method name="bsearch">
<method name="bsearch" qualifiers="const">
<return type="int" />
<param index="0" name="value" type="int" />
<param index="1" name="before" type="bool" default="true" />

View File

@ -48,7 +48,7 @@
Appends a [PackedInt64Array] at the end of this array.
</description>
</method>
<method name="bsearch">
<method name="bsearch" qualifiers="const">
<return type="int" />
<param index="0" name="value" type="int" />
<param index="1" name="before" type="bool" default="true" />

View File

@ -54,7 +54,7 @@
Appends a [PackedStringArray] at the end of this array.
</description>
</method>
<method name="bsearch">
<method name="bsearch" qualifiers="const">
<return type="int" />
<param index="0" name="value" type="String" />
<param index="1" name="before" type="bool" default="true" />

View File

@ -52,7 +52,7 @@
Appends a [PackedVector2Array] at the end of this array.
</description>
</method>
<method name="bsearch">
<method name="bsearch" qualifiers="const">
<return type="int" />
<param index="0" name="value" type="Vector2" />
<param index="1" name="before" type="bool" default="true" />

View File

@ -51,7 +51,7 @@
Appends a [PackedVector3Array] at the end of this array.
</description>
</method>
<method name="bsearch">
<method name="bsearch" qualifiers="const">
<return type="int" />
<param index="0" name="value" type="Vector3" />
<param index="1" name="before" type="bool" default="true" />

View File

@ -51,7 +51,7 @@
Appends a [PackedVector4Array] at the end of this array.
</description>
</method>
<method name="bsearch">
<method name="bsearch" qualifiers="const">
<return type="int" />
<param index="0" name="value" type="Vector4" />
<param index="1" name="before" type="bool" default="true" />