diff options
| author | Rémi Verschelde | 2016-06-04 16:07:48 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-06-04 16:07:48 +0200 |
| commit | 4b0bae97998dc337c0ca3cfb84332fe2d06d3433 (patch) | |
| tree | 01b985e9b4d0065b023c8e1b38dee18053292c06 /core/array.h | |
| parent | 992a76b41a59de8aad28cf6bce918e7d17970e4e (diff) | |
| parent | 5f5ca8cd9b323e3a89940afd5df09099f83d1473 (diff) | |
| download | godot-4b0bae97998dc337c0ca3cfb84332fe2d06d3433.tar.gz godot-4b0bae97998dc337c0ca3cfb84332fe2d06d3433.tar.zst godot-4b0bae97998dc337c0ca3cfb84332fe2d06d3433.zip | |
Merge pull request #5027 from J08nY/gdscript
Add Array.find_last() and Array.count()
Diffstat (limited to '')
| -rw-r--r-- | core/array.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/array.h b/core/array.h index ecb91b69d..9472a6dd2 100644 --- a/core/array.h +++ b/core/array.h @@ -72,6 +72,8 @@ public: void invert(); int find(const Variant& p_value) const; + int find_last(const Variant& p_value) const; + int count(const Variant& p_value) const; void erase(const Variant& p_value); |
