diff options
author | Emmanuel Leblond <emmanuel.leblond@gmail.com> | 2021-03-27 21:13:51 +0100 |
---|---|---|
committer | Emmanuel Leblond <emmanuel.leblond@gmail.com> | 2021-03-27 21:13:51 +0100 |
commit | 9761bab75372b5af25a64767985d047624437925 (patch) | |
tree | bc43783ed10836b5f7520ef9a42b174e9a671ca8 /modules/gdnative/include/pluginscript/godot_pluginscript.h | |
parent | a82765a46477209dad1eeb466d593d592167060a (diff) | |
download | redot-engine-9761bab75372b5af25a64767985d047624437925.tar.gz |
Add support for _to_string virtual function overwrite in Pluginscript
Diffstat (limited to 'modules/gdnative/include/pluginscript/godot_pluginscript.h')
-rw-r--r-- | modules/gdnative/include/pluginscript/godot_pluginscript.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdnative/include/pluginscript/godot_pluginscript.h b/modules/gdnative/include/pluginscript/godot_pluginscript.h index cbd65e3772..b76f89cc99 100644 --- a/modules/gdnative/include/pluginscript/godot_pluginscript.h +++ b/modules/gdnative/include/pluginscript/godot_pluginscript.h @@ -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 |