diff options
author | Karroffel <therzog@mail.de> | 2017-04-11 15:48:26 +0200 |
---|---|---|
committer | Karroffel <therzog@mail.de> | 2017-04-11 15:48:26 +0200 |
commit | 005b9aa148dc0010890dec6e157b5359da790ecc (patch) | |
tree | 6fdad8dc2f261d4a304055ab2a90e94ce469aed4 /include/godot_cpp/core/String.cpp | |
parent | e16e2fe308a97bc417d2728936f7f8fdd95f7751 (diff) | |
download | redot-cpp-005b9aa148dc0010890dec6e157b5359da790ecc.tar.gz |
String.c_string() now returns char *
Diffstat (limited to 'include/godot_cpp/core/String.cpp')
-rw-r--r-- | include/godot_cpp/core/String.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/godot_cpp/core/String.cpp b/include/godot_cpp/core/String.cpp index 9b344c7..e2c2182 100644 --- a/include/godot_cpp/core/String.cpp +++ b/include/godot_cpp/core/String.cpp @@ -126,7 +126,7 @@ String::operator NodePath() const return NodePath(*this); } -const wchar_t *String::c_string() const +const char *String::c_string() const { return godot_string_c_str(&_godot_string); } |