diff options
author | Thomas Herzog <thomas.herzog@mail.com> | 2017-11-25 00:26:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-25 00:26:36 +0100 |
commit | ee4729cc07b904f92501d55d985ee2d325ba6e89 (patch) | |
tree | bd388b6570402fdde2732dd92217ee53981209cf /include/core/String.hpp | |
parent | e72f4beec1b091edf6f16a0fe27d5ed13ca450c2 (diff) | |
parent | d8faa4ec76bc73ca17b8e5dd72220d16996423c3 (diff) | |
download | redot-cpp-ee4729cc07b904f92501d55d985ee2d325ba6e89.tar.gz |
Merge pull request #52 from BastiaanOlij/change_to_new_extensions
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 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/core/String.hpp b/include/core/String.hpp index 43da4a3..7788195 100644 --- a/include/core/String.hpp +++ b/include/core/String.hpp @@ -40,7 +40,9 @@ public: operator NodePath() const; int length() const; - const char *c_string() const; + const wchar_t *unicode_str() const; + char *alloc_c_string() 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 +108,8 @@ public: }; String operator+(const char *a, const String &b); +String operator+(const wchar_t *a, const String &b); + } #endif // STRING_H |