aboutsummaryrefslogtreecommitdiff
path: root/core/array.h
diff options
context:
space:
mode:
authorRémi Verschelde2016-06-04 16:07:48 +0200
committerRémi Verschelde2016-06-04 16:07:48 +0200
commit4b0bae97998dc337c0ca3cfb84332fe2d06d3433 (patch)
tree01b985e9b4d0065b023c8e1b38dee18053292c06 /core/array.h
parent992a76b41a59de8aad28cf6bce918e7d17970e4e (diff)
parent5f5ca8cd9b323e3a89940afd5df09099f83d1473 (diff)
downloadgodot-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.h2
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);