aboutsummaryrefslogtreecommitdiff
path: root/core/script_language.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/script_language.h')
-rw-r--r--core/script_language.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/script_language.h b/core/script_language.h
index 478ebd88e..ceaa86246 100644
--- a/core/script_language.h
+++ b/core/script_language.h
@@ -129,6 +129,9 @@ public:
virtual void notification(int p_notification)=0;
+ virtual void refcount_incremented() {}
+ virtual bool refcount_decremented() { return true; } //return true if it can die
+
virtual Ref<Script> get_script() const=0;
virtual bool is_placeholder() const { return false; }