From 917bd5b2c2db4b97c385422d2b6df1d2a3e17b60 Mon Sep 17 00:00:00 2001 From: Thomas Herzog Date: Thu, 30 Aug 2018 19:55:04 +0200 Subject: [NativeScript] implement refcount instance binding funcs --- modules/gdnative/include/nativescript/godot_nativescript.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/gdnative/include') 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; -- cgit v1.2.3