String.c_string() now returns char *

pull/7/head
Karroffel 2017-04-11 15:48:26 +02:00
parent e16e2fe308
commit 005b9aa148
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -65,7 +65,7 @@ public:
operator NodePath() const;
const wchar_t *c_string() const;
const char *c_string() const;
};