From e81ba7a8d10bd8f5b38ac9f0d0a77f7c3786d142 Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 2 Jun 2023 13:48:32 +0200 Subject: [PATCH] Fix the prefix of some of the string methods. --- gdnative/string.cpp | 8 ++++---- include/gdn/string.h | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gdnative/string.cpp b/gdnative/string.cpp index f2a2f0d..8d37b89 100644 --- a/gdnative/string.cpp +++ b/gdnative/string.cpp @@ -1905,7 +1905,7 @@ pandemonium_string GDAPI pandemonium_string_rstrip(const pandemonium_string *p_s return result; } -pandemonium_pool_byte_array GDAPI to_ascii_buffer(const pandemonium_string *p_self) { +pandemonium_pool_byte_array GDAPI pandemonium_string_to_ascii_buffer(const pandemonium_string *p_self) { const String *self = (const String *)p_self; Vector tmp_result = self->to_ascii_buffer(); @@ -1921,7 +1921,7 @@ pandemonium_pool_byte_array GDAPI to_ascii_buffer(const pandemonium_string *p_se return result; } -pandemonium_pool_byte_array GDAPI to_utf8_buffer(const pandemonium_string *p_self) { +pandemonium_pool_byte_array GDAPI pandemonium_string_to_utf8_buffer(const pandemonium_string *p_self) { const String *self = (const String *)p_self; Vector tmp_result = self->to_utf8_buffer(); @@ -1937,7 +1937,7 @@ pandemonium_pool_byte_array GDAPI to_utf8_buffer(const pandemonium_string *p_sel return result; } -pandemonium_pool_byte_array GDAPI to_utf16_buffer(const pandemonium_string *p_self) { +pandemonium_pool_byte_array GDAPI pandemonium_string_to_utf16_buffer(const pandemonium_string *p_self) { const String *self = (const String *)p_self; Vector tmp_result = self->to_utf16_buffer(); @@ -1953,7 +1953,7 @@ pandemonium_pool_byte_array GDAPI to_utf16_buffer(const pandemonium_string *p_se return result; } -pandemonium_pool_byte_array GDAPI to_utf32_buffer(const pandemonium_string *p_self) { +pandemonium_pool_byte_array GDAPI pandemonium_string_to_utf32_buffer(const pandemonium_string *p_self) { const String *self = (const String *)p_self; Vector tmp_result = self->to_utf32_buffer(); diff --git a/include/gdn/string.h b/include/gdn/string.h index 1e284fa..5f2bb9d 100644 --- a/include/gdn/string.h +++ b/include/gdn/string.h @@ -417,10 +417,10 @@ pandemonium_bool GDAPI pandemonium_string_is_valid_filename(const pandemonium_st pandemonium_bool GDAPI pandemonium_string_is_valid_bool(const pandemonium_string *p_self); pandemonium_bool GDAPI pandemonium_string_is_valid_unsigned_integer(const pandemonium_string *p_self); -pandemonium_pool_byte_array GDAPI to_ascii_buffer(const pandemonium_string *p_self); -pandemonium_pool_byte_array GDAPI to_utf8_buffer(const pandemonium_string *p_self); -pandemonium_pool_byte_array GDAPI to_utf16_buffer(const pandemonium_string *p_self); -pandemonium_pool_byte_array GDAPI to_utf32_buffer(const pandemonium_string *p_self); +pandemonium_pool_byte_array GDAPI pandemonium_string_to_ascii_buffer(const pandemonium_string *p_self); +pandemonium_pool_byte_array GDAPI pandemonium_string_to_utf8_buffer(const pandemonium_string *p_self); +pandemonium_pool_byte_array GDAPI pandemonium_string_to_utf16_buffer(const pandemonium_string *p_self); +pandemonium_pool_byte_array GDAPI pandemonium_string_to_utf32_buffer(const pandemonium_string *p_self); void GDAPI pandemonium_string_new(pandemonium_string *r_dest); void GDAPI pandemonium_string_new_copy(pandemonium_string *r_dest, const pandemonium_string *p_src);