mirror of
https://github.com/godotengine/godot.git
synced 2025-10-23 18:03:35 +00:00
Add support for _to_string virtual function overwrite in Pluginscript
This commit is contained in:
parent
a82765a464
commit
9761bab753
3 changed files with 9 additions and 0 deletions
|
|
@ -56,6 +56,7 @@ typedef struct {
|
|||
int p_argcount, godot_variant_call_error *r_error);
|
||||
|
||||
void (*notification)(godot_pluginscript_instance_data *p_data, int p_notification);
|
||||
godot_string (*to_string)(godot_pluginscript_instance_data *p_data, godot_bool *r_valid);
|
||||
|
||||
//this is used by script languages that keep a reference counter of their own
|
||||
//you can make make Ref<> not die when it reaches zero, so deleting the reference
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue