mirror of
https://github.com/godotengine/godot-cpp.git
synced 2026-01-02 09:48:36 +03:00
Merge branch 'master' into container_leaks
This commit is contained in:
@@ -94,11 +94,11 @@ Variant Array::back() const {
|
||||
return Variant(v);
|
||||
}
|
||||
|
||||
int Array::find(const Variant &what, const int from) {
|
||||
int Array::find(const Variant &what, const int from) const {
|
||||
return godot::api->godot_array_find(&_godot_array, (godot_variant *)&what, from);
|
||||
}
|
||||
|
||||
int Array::find_last(const Variant &what) {
|
||||
int Array::find_last(const Variant &what) const {
|
||||
return godot::api->godot_array_find_last(&_godot_array, (godot_variant *)&what);
|
||||
}
|
||||
|
||||
@@ -148,7 +148,7 @@ void Array::resize(const int size) {
|
||||
godot::api->godot_array_resize(&_godot_array, size);
|
||||
}
|
||||
|
||||
int Array::rfind(const Variant &what, const int from) {
|
||||
int Array::rfind(const Variant &what, const int from) const {
|
||||
return godot::api->godot_array_rfind(&_godot_array, (godot_variant *)&what, from);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user