Use StringName in the whole GDExtension API instead of const char *

This commit is contained in:
Emmanuel Leblond 2022-10-23 10:43:09 +02:00
parent 84262efd2a
commit 1e8756c94b
No known key found for this signature in database
GPG key ID: C360860E645EFFC0
7 changed files with 139 additions and 107 deletions

View file

@ -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()) + ">";