summaryrefslogtreecommitdiffstats
path: root/core/array.h
diff options
context:
space:
mode:
authorJ08nY <jancar.jj@gmail.com>2016-06-03 23:10:43 +0200
committerJ08nY <jancar.jj@gmail.com>2016-06-03 23:36:02 +0200
commit5f5ca8cd9b323e3a89940afd5df09099f83d1473 (patch)
tree949b8600b7f921ebdeba73549a137346bc800f0d /core/array.h
parentb4fb4a131dcfc4b62b07e33430d638c0813c3b71 (diff)
downloadredot-engine-5f5ca8cd9b323e3a89940afd5df09099f83d1473.tar.gz
Added Array.find_last() and Array.count()
Diffstat (limited to 'core/array.h')
-rw-r--r--core/array.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/array.h b/core/array.h
index ecb91b69dc..9472a6dd21 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);