summaryrefslogtreecommitdiff
path: root/modules/gdnative/pluginscript/pluginscript_instance.h
diff options
context:
space:
mode:
authorEmmanuel Leblond <emmanuel.leblond@gmail.com>2021-03-27 21:13:51 +0100
committerEmmanuel Leblond <emmanuel.leblond@gmail.com>2021-03-27 21:13:51 +0100
commit9761bab75372b5af25a64767985d047624437925 (patch)
treebc43783ed10836b5f7520ef9a42b174e9a671ca8 /modules/gdnative/pluginscript/pluginscript_instance.h
parenta82765a46477209dad1eeb466d593d592167060a (diff)
Add support for _to_string virtual function overwrite in Pluginscript
Diffstat (limited to 'modules/gdnative/pluginscript/pluginscript_instance.h')
-rw-r--r--modules/gdnative/pluginscript/pluginscript_instance.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdnative/pluginscript/pluginscript_instance.h b/modules/gdnative/pluginscript/pluginscript_instance.h
index 536eb550e0..b263c0e62c 100644
--- a/modules/gdnative/pluginscript/pluginscript_instance.h
+++ b/modules/gdnative/pluginscript/pluginscript_instance.h
@@ -63,6 +63,7 @@ public:
virtual Variant call(const StringName &p_method, const Variant **p_args, int p_argcount, Callable::CallError &r_error);
virtual void notification(int p_notification);
+ virtual String to_string(bool *r_valid);
virtual Ref<Script> get_script() const;