mirror of
https://github.com/godotengine/godot-cpp.git
synced 2026-01-03 18:09:13 +03:00
String.c_string() now returns char *
This commit is contained in:
@@ -126,7 +126,7 @@ String::operator NodePath() const
|
|||||||
return NodePath(*this);
|
return NodePath(*this);
|
||||||
}
|
}
|
||||||
|
|
||||||
const wchar_t *String::c_string() const
|
const char *String::c_string() const
|
||||||
{
|
{
|
||||||
return godot_string_c_str(&_godot_string);
|
return godot_string_c_str(&_godot_string);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ public:
|
|||||||
|
|
||||||
operator NodePath() const;
|
operator NodePath() const;
|
||||||
|
|
||||||
const wchar_t *c_string() const;
|
const char *c_string() const;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user