mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
[NativeScript] implement refcount instance binding funcs
This commit is contained in:
parent
a1019c2c82
commit
917bd5b2c2
3 changed files with 52 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue