summaryrefslogtreecommitdiffstats
path: root/modules/nativescript/nativescript.h
diff options
context:
space:
mode:
authorThomas Herzog <thomas.herzog@mail.com>2017-07-26 21:29:26 +0200
committerGitHub <noreply@github.com>2017-07-26 21:29:26 +0200
commit18e23ad4dcec0713fb24211be964ade35bff951d (patch)
tree28cbacd973338e3eee4db57b3aa188215f5a2c5e /modules/nativescript/nativescript.h
parent88bd18244bda74843ed6e0b99db106dffa4979bc (diff)
parentdb9dcbddbc9231d520a14eaa4e256c276273eeb7 (diff)
downloadredot-engine-18e23ad4dcec0713fb24211be964ade35bff951d.tar.gz
Merge pull request #9882 from endragor/nativescript-refcount
Forward refcount changes to NativeScriptInstance
Diffstat (limited to 'modules/nativescript/nativescript.h')
-rw-r--r--modules/nativescript/nativescript.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/nativescript/nativescript.h b/modules/nativescript/nativescript.h
index cf3a64e9b8..05e2d361d3 100644
--- a/modules/nativescript/nativescript.h
+++ b/modules/nativescript/nativescript.h
@@ -185,6 +185,9 @@ public:
virtual void call_multilevel(const StringName &p_method, const Variant **p_args, int p_argcount);
virtual void call_multilevel_reversed(const StringName &p_method, const Variant **p_args, int p_argcount);
+ virtual void refcount_incremented();
+ virtual bool refcount_decremented();
+
~NativeScriptInstance();
};