virtualx-engine/modules/gdnative
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 Simplify InputDefault::joy_axis code by using float instead of struct JoyAxis 2022-01-14 15:36:35 +00:00
doc_classes Fix various typos 2022-05-19 19:07:45 +08:00
gdnative [GDScript][GDNative] Add 'sort' and 'has' methods to pooled arrays 2022-07-07 23:24:31 +02:00
icons Add support for creating editor icons per module 2019-06-28 23:42:26 +03:00
include [GDScript][GDNative] Add 'sort' and 'has' methods to pooled arrays 2022-07-07 23:24:31 +02:00
nativescript Update copyright statements to 2022 2022-01-13 15:54:13 +01: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
config.py DocData: Skip language-specific ClassDoc without methods/constants 2020-06-18 11:29:28 +02:00
gdnative.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
gdnative.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
gdnative_api.json [GDScript][GDNative] Add 'sort' and 'has' methods to pooled arrays 2022-07-07 23:24:31 +02:00
gdnative_builders.py SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
gdnative_library_editor_plugin.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
gdnative_library_editor_plugin.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
gdnative_library_singleton_editor.cpp i18n: Misc fixes translation strings 2022-06-08 12:56:42 +02:00
gdnative_library_singleton_editor.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
register_types.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
register_types.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
SCsub SCons: Properly handle overriding default values to bool options 2021-02-24 10:20:46 +01:00