Unify TextServer built-in module and GDExtension code.
This commit is contained in:
parent
178961a6dc
commit
f19cd44346
49 changed files with 4658 additions and 3126 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue