diff options
author | geequlim <geequlim@gmail.com> | 2019-06-08 16:33:12 +0800 |
---|---|---|
committer | geequlim <geequlim@gmail.com> | 2019-06-08 16:33:12 +0800 |
commit | ae839bd0d8f012d638b10397521df74714c50403 (patch) | |
tree | 25c80c20ac87969005c12b1249c843515858ab82 /core/variant_call.cpp | |
parent | 693582f00837bb4ce4fb3ce91d2366ee359eecf4 (diff) | |
download | redot-engine-ae839bd0d8f012d638b10397521df74714c50403.tar.gz |
Expose String.http_escape and String.http_unescape
Diffstat (limited to 'core/variant_call.cpp')
-rw-r--r-- | core/variant_call.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/variant_call.cpp b/core/variant_call.cpp index 24f12df5db..7c6f1648ee 100644 --- a/core/variant_call.cpp +++ b/core/variant_call.cpp @@ -285,6 +285,8 @@ struct _VariantCall { VCALL_LOCALMEM0R(String, get_file); VCALL_LOCALMEM0R(String, xml_escape); VCALL_LOCALMEM0R(String, xml_unescape); + VCALL_LOCALMEM0R(String, http_escape); + VCALL_LOCALMEM0R(String, http_unescape); VCALL_LOCALMEM0R(String, c_escape); VCALL_LOCALMEM0R(String, c_unescape); VCALL_LOCALMEM0R(String, json_escape); @@ -1550,6 +1552,8 @@ void register_variant_methods() { ADDFUNC0R(STRING, STRING, String, get_file, varray()); ADDFUNC0R(STRING, STRING, String, xml_escape, varray()); ADDFUNC0R(STRING, STRING, String, xml_unescape, varray()); + ADDFUNC0R(STRING, STRING, String, http_escape, varray()); + ADDFUNC0R(STRING, STRING, String, http_unescape, varray()); ADDFUNC0R(STRING, STRING, String, c_escape, varray()); ADDFUNC0R(STRING, STRING, String, c_unescape, varray()); ADDFUNC0R(STRING, STRING, String, json_escape, varray()); |