diff options
| author | Thomas Herzog <thomas.herzog@mail.com> | 2018-08-30 21:07:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-30 21:07:22 +0200 |
| commit | 2ba42b709541928aaaa0312077d5b9cacdb696a5 (patch) | |
| tree | 977dbf7ca420d7bb507b42a22c85cf53b0ba8c52 /modules/gdnative/include/nativescript/godot_nativescript.h | |
| parent | 2881a8e431308647fde21f9744b81269d0323922 (diff) | |
| parent | 917bd5b2c2db4b97c385422d2b6df1d2a3e17b60 (diff) | |
Merge pull request #21604 from karroffel/nativescript-instance-binding-refcount
[NativeScript] implement refcount instance binding funcs
Diffstat (limited to 'modules/gdnative/include/nativescript/godot_nativescript.h')
| -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; |