diff options
author | George Marques <george@gmarqu.es> | 2016-06-10 14:57:56 -0300 |
---|---|---|
committer | George Marques <george@gmarqu.es> | 2016-06-10 15:43:07 -0300 |
commit | 269d5704202d29d1f367abfb2df44fa19997fd18 (patch) | |
tree | c5a795a163b42d7448cd7aa0cb15c1da1b605019 /core/array.h | |
parent | f5aadad7ae58d2eec06e7b6fff29a9ca2d035063 (diff) |
Add 'from' argument to Array.find()
Diffstat (limited to 'core/array.h')
-rw-r--r-- | core/array.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/array.h b/core/array.h index 9472a6dd21..4fb22a4dcc 100644 --- a/core/array.h +++ b/core/array.h @@ -71,7 +71,7 @@ public: void sort_custom(Object *p_obj,const StringName& p_function); void invert(); - int find(const Variant& p_value) const; + int find(const Variant& p_value, int p_from=0) const; int find_last(const Variant& p_value) const; int count(const Variant& p_value) const; |