diff options
Diffstat (limited to 'core/array.h')
-rw-r--r-- | core/array.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/core/array.h b/core/array.h index eb79b0cf33..16ab16002c 100644 --- a/core/array.h +++ b/core/array.h @@ -5,7 +5,7 @@ /* GODOT ENGINE */ /* http://www.godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2016 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -53,8 +53,6 @@ public: bool empty() const; void clear(); - bool is_shared() const; - bool operator==(const Array& p_array) const; uint32_t hash() const; @@ -67,6 +65,9 @@ public: void insert(int p_pos, const Variant& p_value); void remove(int p_pos); + Variant front() const; + Variant back() const; + void sort(); void sort_custom(Object *p_obj,const StringName& p_function); void invert(); @@ -84,7 +85,7 @@ public: Variant pop_front(); Array(const Array& p_from); - Array(bool p_shared=false); + Array(); ~Array(); }; |