summaryrefslogtreecommitdiffstats
path: root/modules/mono/csharp_script.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2018-08-25 11:01:55 -0300
committerGitHub <noreply@github.com>2018-08-25 11:01:55 -0300
commit8c435a343e9739f30cb2e347df95835c91c1ff1a (patch)
treefe53040862deb5bf46d92e1e002086914ff8d80a /modules/mono/csharp_script.h
parent7c5883add0b2534bfc901c538381a7b3cba19966 (diff)
parent908a30964a66884f0264021818531cc89c8d2b80 (diff)
downloadredot-engine-8c435a343e9739f30cb2e347df95835c91c1ff1a.tar.gz
Merge pull request #16927 from neikeq/rework-refcount-notify
Notify instance binding data api of refcount increment/decrement
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 53644eafae..1a5d0c8a69 100644
--- a/modules/mono/csharp_script.h
+++ b/modules/mono/csharp_script.h
@@ -346,6 +346,8 @@ public:
// Don't use these. I'm watching you
virtual void *alloc_instance_binding_data(Object *p_object);
virtual void free_instance_binding_data(void *p_data);
+ virtual void refcount_incremented_instance_binding(Object *p_object);
+ virtual bool refcount_decremented_instance_binding(Object *p_object);
#ifdef DEBUG_ENABLED
Vector<StackInfo> stack_trace_get_info(MonoObject *p_stack_trace);