mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Use StringName in the whole GDExtension API instead of const char *
This commit is contained in:
parent
84262efd2a
commit
1e8756c94b
7 changed files with 139 additions and 107 deletions
|
@ -808,7 +808,8 @@ String Object::to_string() {
|
|||
}
|
||||
if (_extension && _extension->to_string) {
|
||||
String ret;
|
||||
_extension->to_string(_extension_instance, &ret);
|
||||
GDNativeBool is_valid;
|
||||
_extension->to_string(_extension_instance, &is_valid, &ret);
|
||||
return ret;
|
||||
}
|
||||
return "<" + get_class() + "#" + itos(get_instance_id()) + ">";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue