summaryrefslogtreecommitdiff
path: root/modules/gdnative/text
diff options
context:
space:
mode:
authorMarcel Admiraal <madmiraal@users.noreply.github.com>2021-03-14 07:21:32 +0000
committerMarcel Admiraal <madmiraal@users.noreply.github.com>2021-03-21 10:20:08 +0000
commit755c70b871c659df2d7c3a003593f38775dd7b5d (patch)
tree9196b3da289e7ffc27e321ce6c4d2f97e0af7c95 /modules/gdnative/text
parent07f076fa4f2896415993bb8e3fb42128423de0d2 (diff)
Rename Array.invert() to Array.reverse()
Does the same internally for List and Vector<>, which includes all PackedArray types.
Diffstat (limited to 'modules/gdnative/text')
-rw-r--r--modules/gdnative/text/text_server_gdnative.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdnative/text/text_server_gdnative.cpp b/modules/gdnative/text/text_server_gdnative.cpp
index 7cd8de5f2e..e4c61c4d95 100644
--- a/modules/gdnative/text/text_server_gdnative.cpp
+++ b/modules/gdnative/text/text_server_gdnative.cpp
@@ -841,9 +841,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) {