diff options
| author | BastiaanOlij <mux213@gmail.com> | 2017-11-23 22:50:05 +1100 |
|---|---|---|
| committer | BastiaanOlij <mux213@gmail.com> | 2017-11-23 22:50:05 +1100 |
| commit | 0f773c2d72a4666e2ecf7235201f035773775f71 (patch) | |
| tree | aea20447f52162fc269c7d138bd2dda6c2d4d4bb /include/core/String.hpp | |
| parent | e72f4beec1b091edf6f16a0fe27d5ed13ca450c2 (diff) | |
| download | redot-cpp-0f773c2d72a4666e2ecf7235201f035773775f71.tar.gz | |
Update bindings to use new Api extensions and rename Rect3->AABB
Diffstat (limited to 'include/core/String.hpp')
| -rw-r--r-- | include/core/String.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/core/String.hpp b/include/core/String.hpp index 43da4a3..63e2119 100644 --- a/include/core/String.hpp +++ b/include/core/String.hpp @@ -40,7 +40,8 @@ public: operator NodePath() const; int length() const; - const char *c_string() const; + const wchar_t *unicode_str() const; + void get_c_string(char *p_dest, int *p_size) const; int64_t find(String p_what) const; int64_t find_from(String p_what, int64_t p_from) const; @@ -106,6 +107,8 @@ public: }; String operator+(const char *a, const String &b); +String operator+(const wchar_t *a, const String &b); + } #endif // STRING_H |
