From 908a30964a66884f0264021818531cc89c8d2b80 Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Thu, 22 Feb 2018 15:34:08 +0100 Subject: Notify instance binding data api of refcount increment/decrement --- core/script_language.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/script_language.h') diff --git a/core/script_language.h b/core/script_language.h index d1da0a3b72..4c0acc406d 100644 --- a/core/script_language.h +++ b/core/script_language.h @@ -284,6 +284,8 @@ public: virtual void *alloc_instance_binding_data(Object *p_object) { return NULL; } //optional, not used by all languages virtual void free_instance_binding_data(void *p_data) {} //optional, not used by all languages + virtual void refcount_incremented_instance_binding(Object *p_object) {} //optional, not used by all languages + virtual bool refcount_decremented_instance_binding(Object *p_object) { return true; } //return true if it can die //optional, not used by all languages virtual void frame(); -- cgit v1.2.3