7b8b91f505
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). |
||
---|---|---|
.. | ||
android | ||
arvr | ||
doc_classes | ||
gdnative | ||
icons | ||
include | ||
nativescript | ||
net | ||
pluginscript | ||
videodecoder | ||
config.py | ||
gdnative.cpp | ||
gdnative.h | ||
gdnative_api.json | ||
gdnative_builders.py | ||
gdnative_library_editor_plugin.cpp | ||
gdnative_library_editor_plugin.h | ||
gdnative_library_singleton_editor.cpp | ||
gdnative_library_singleton_editor.h | ||
register_types.cpp | ||
register_types.h | ||
SCsub |