summaryrefslogtreecommitdiffstats
path: root/core/variant/variant_call.cpp
diff options
context:
space:
mode:
authorbendn <bend.n@outlook.com>2023-03-06 10:17:33 +0700
committerbendn <bend.n@outlook.com>2023-04-05 19:44:00 +0700
commitca0feabbb08daf28606a37e8a46295b7e7fdcaf3 (patch)
treea252bcf979e96f1f22b08f387753c32f9c083668 /core/variant/variant_call.cpp
parent44d539465acca7592e0c88748e231fe5f151da37 (diff)
downloadredot-engine-ca0feabbb08daf28606a37e8a46295b7e7fdcaf3.tar.gz
add `hex_decode()` to `String`
Diffstat (limited to 'core/variant/variant_call.cpp')
-rw-r--r--core/variant/variant_call.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/variant/variant_call.cpp b/core/variant/variant_call.cpp
index ae15158836..13e9da37f2 100644
--- a/core/variant/variant_call.cpp
+++ b/core/variant/variant_call.cpp
@@ -1734,6 +1734,7 @@ static void _register_variant_builtin_methods() {
bind_string_method(to_utf8_buffer, sarray(), varray());
bind_string_method(to_utf16_buffer, sarray(), varray());
bind_string_method(to_utf32_buffer, sarray(), varray());
+ bind_string_method(hex_decode, sarray(), varray());
bind_string_method(to_wchar_buffer, sarray(), varray());
bind_static_method(String, num_scientific, sarray("number"), varray());