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/include/nativescript | |
parent | a1019c2c82f786cb5f2f1b59bbe5e28f93573a88 (diff) |
[NativeScript] implement refcount instance binding funcs
Diffstat (limited to 'modules/gdnative/include/nativescript')
-rw-r--r-- | modules/gdnative/include/nativescript/godot_nativescript.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gdnative/include/nativescript/godot_nativescript.h b/modules/gdnative/include/nativescript/godot_nativescript.h index 29bd9eec5a..d6a729be47 100644 --- a/modules/gdnative/include/nativescript/godot_nativescript.h +++ b/modules/gdnative/include/nativescript/godot_nativescript.h @@ -229,6 +229,8 @@ const void GDAPI *godot_nativescript_get_type_tag(const godot_object *p_object); typedef struct { GDCALLINGCONV void *(*alloc_instance_binding_data)(void *, const void *, godot_object *); GDCALLINGCONV void (*free_instance_binding_data)(void *, void *); + GDCALLINGCONV void (*refcount_incremented_instance_binding)(void *, godot_object *); + GDCALLINGCONV bool (*refcount_decremented_instance_binding)(void *, godot_object *); void *data; GDCALLINGCONV void (*free_func)(void *); } godot_instance_binding_functions; |