From 0f773c2d72a4666e2ecf7235201f035773775f71 Mon Sep 17 00:00:00 2001 From: BastiaanOlij Date: Thu, 23 Nov 2017 22:50:05 +1100 Subject: Update bindings to use new Api extensions and rename Rect3->AABB --- include/core/String.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/core/String.hpp') 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 -- cgit v1.2.3