1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-12 13:20:55 +00:00

Merge pull request #46991 from madmiraal/rename-invert-reverse

Rename Array.invert() to Array.reverse()
This commit is contained in:
Rémi Verschelde
2021-04-01 13:32:22 +02:00
committed by GitHub
35 changed files with 57 additions and 57 deletions

View File

@@ -847,9 +847,9 @@ void GDAPI godot_packed_glyph_array_sort(godot_packed_glyph_array *p_self) {
self->sort();
}
void GDAPI godot_packed_glyph_array_invert(godot_packed_glyph_array *p_self) {
void GDAPI godot_packed_glyph_array_reverse(godot_packed_glyph_array *p_self) {
Vector<TextServer::Glyph> *self = (Vector<TextServer::Glyph> *)p_self;
self->invert();
self->reverse();
}
void GDAPI godot_packed_glyph_array_push_back(godot_packed_glyph_array *p_self, const godot_glyph *p_data) {