Unify TextServer built-in module and GDExtension code.

This commit is contained in:
bruvzg
2022-03-17 08:15:29 +02:00
parent 178961a6dc
commit f19cd44346
49 changed files with 4658 additions and 3126 deletions
+6
View File
@@ -463,6 +463,12 @@ String String::operator+(const String &p_str) const {
return res;
}
String String::operator+(char32_t p_char) const {
String res = *this;
res += p_char;
return res;
}
String operator+(const char *p_chr, const String &p_str) {
String tmp = p_chr;
tmp += p_str;
+1
View File
@@ -225,6 +225,7 @@ public:
bool operator==(const String &p_str) const;
bool operator!=(const String &p_str) const;
String operator+(const String &p_str) const;
String operator+(char32_t p_char) const;
String &operator+=(const String &);
String &operator+=(char32_t p_char);