You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Use StringName in the whole GDExtension API instead of const char *
This commit is contained in:
@@ -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()) + ">";
|
||||
|
||||
Reference in New Issue
Block a user