Added missing method to the api json.

This commit is contained in:
Relintai 2023-05-31 15:10:38 +02:00
parent d320ee5c36
commit 435b0bb31e
2 changed files with 13 additions and 1 deletions

View File

@ -5907,6 +5907,17 @@
["const pandemonium_string *", "p_self"] ["const pandemonium_string *", "p_self"]
] ]
}, },
{
"name": "pandemonium_string_strip_edges",
"return_type": "pandemonium_string",
"arguments": [
["const pandemonium_string *", "p_self"],
["pandemonium_bool", "p_left"],
["pandemonium_bool", "p_right"]
]
},
{ {
"name": "pandemonium_string_strip_escapes", "name": "pandemonium_string_strip_escapes",
"return_type": "pandemonium_string", "return_type": "pandemonium_string",

View File

@ -310,7 +310,8 @@ pandemonium_string GDAPI pandemonium_string_right(const pandemonium_string *p_se
pandemonium_string GDAPI pandemonium_string_indent(const pandemonium_string *p_self, const pandemonium_string *p_prefix); pandemonium_string GDAPI pandemonium_string_indent(const pandemonium_string *p_self, const pandemonium_string *p_prefix);
pandemonium_string GDAPI pandemonium_string_dedent(const pandemonium_string *p_self); pandemonium_string GDAPI pandemonium_string_dedent(const pandemonium_string *p_self);
pandemonium_string GDAPI pandemonium_string_strip_edges(const pandemonium_string *p_self, pandemonium_bool p_left, pandemonium_bool p_right); // left, right variant //String strip_edges(bool left = true, bool right = true) const; // left, right variant //String strip_edges(bool left = true, bool right = true) const;
pandemonium_string GDAPI pandemonium_string_strip_edges(const pandemonium_string *p_self, pandemonium_bool p_left, pandemonium_bool p_right);
pandemonium_string GDAPI pandemonium_string_strip_escapes(const pandemonium_string *p_self); pandemonium_string GDAPI pandemonium_string_strip_escapes(const pandemonium_string *p_self);
pandemonium_string GDAPI pandemonium_string_lstrip(const pandemonium_string *p_self, const pandemonium_string *p_chars); pandemonium_string GDAPI pandemonium_string_lstrip(const pandemonium_string *p_self, const pandemonium_string *p_chars);