summaryrefslogtreecommitdiffstats
path: root/modules/mono/csharp_script.h
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2019-05-24 00:40:16 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2019-05-24 00:40:20 +0200
commit04ebf294f36eeae859b33299f29ca4dd7c0cf7c1 (patch)
tree365a58a6b9f4bccb4f4e6329d913819d4440e11a /modules/mono/csharp_script.h
parent9738ed567cb9b75e11af3d7c361a2d77e60a5753 (diff)
downloadredot-engine-04ebf294f36eeae859b33299f29ca4dd7c0cf7c1.tar.gz
C#: Implement ScriptInstance::to_string
Create a blacklist of methods that must not be generated. Includes: "to_string", "_to_string" and "_init".
Diffstat (limited to 'modules/mono/csharp_script.h')
-rw-r--r--modules/mono/csharp_script.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/mono/csharp_script.h b/modules/mono/csharp_script.h
index 298d55c4df..e735e0f741 100644
--- a/modules/mono/csharp_script.h
+++ b/modules/mono/csharp_script.h
@@ -261,6 +261,8 @@ public:
virtual void notification(int p_notification);
void _call_notification(int p_notification);
+ virtual String to_string(bool *r_valid);
+
virtual Ref<Script> get_script() const;
virtual ScriptLanguage *get_language();