diff options
| author | Thomas Herzog <therzog@mail.de> | 2018-08-30 19:55:04 +0200 |
|---|---|---|
| committer | Thomas Herzog <therzog@mail.de> | 2018-08-30 19:55:04 +0200 |
| commit | 917bd5b2c2db4b97c385422d2b6df1d2a3e17b60 (patch) | |
| tree | e5f1f717aab9e006fa4f3c66d3afafcdace2f942 /modules/gdnative/nativescript/nativescript.h | |
| parent | a1019c2c82f786cb5f2f1b59bbe5e28f93573a88 (diff) | |
| download | redot-engine-917bd5b2c2db4b97c385422d2b6df1d2a3e17b60.tar.gz | |
[NativeScript] implement refcount instance binding funcs
Diffstat (limited to 'modules/gdnative/nativescript/nativescript.h')
| -rw-r--r-- | modules/gdnative/nativescript/nativescript.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gdnative/nativescript/nativescript.h b/modules/gdnative/nativescript/nativescript.h index 6f18e2db27..ebfe36fd94 100644 --- a/modules/gdnative/nativescript/nativescript.h +++ b/modules/gdnative/nativescript/nativescript.h @@ -353,6 +353,8 @@ public: 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); void set_global_type_tag(int p_idx, StringName p_class_name, const void *p_type_tag); const void *get_global_type_tag(int p_idx, StringName p_class_name) const; |
