virtualx-engine/modules/gdnative/include
Kirill Diduk 7b8b91f505 [GDScript][GDNative] Add 'sort' and 'has' methods to pooled arrays
This is a backport from 4.0 to 3.x that adds 'sort' and 'has' methods
to the following types:
- PoolByteArray
- PoolIntArray
- PoolRealArray
- PoolStringArray
- PoolVector2Array
- PoolVector3Array
- PoolColorArray

For all the types above, the methods 'sort' and 'has' have been
exposed to the GDNative API (v. 1.3)

Since the method 'has' was already implemented in GDScript before,
in this commit it has been only exposed to GDNative API.

The classes documentation is updated.

The method 'sort' uses the exisging class "Sorter".

Pooled arrays in 4.0 are rewritten, that's why this backport is not
completely indentical to the original PR made for 4.0 (see #32144).
2022-07-07 23:24:31 +02:00
..
android Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
arvr Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
gdnative [GDScript][GDNative] Add 'sort' and 'has' methods to pooled arrays 2022-07-07 23:24:31 +02:00
nativescript [3.5] Update NavigationServer backport 2022-06-14 05:55:14 +02:00
net Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
pluginscript Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
videodecoder Update copyright statements to 2022 2022-01-13 15:54:13 +01:00