diff options
| author | karroffel | 2018-04-04 21:32:49 +0200 |
|---|---|---|
| committer | karroffel | 2018-04-05 00:06:33 +0200 |
| commit | ad93d3e277e9cf8f9081b4a09d2832f0fbc95dcf (patch) | |
| tree | 616ed30f1c20d13d854bcf07cc9f6f2386731af4 /modules/gdnative/include/nativescript/godot_nativescript.h | |
| parent | c5bb997a8f2d538cc89ac09ddd0ea8d5cf69df88 (diff) | |
| download | godot-ad93d3e277e9cf8f9081b4a09d2832f0fbc95dcf.tar.gz godot-ad93d3e277e9cf8f9081b4a09d2832f0fbc95dcf.tar.zst godot-ad93d3e277e9cf8f9081b4a09d2832f0fbc95dcf.zip | |
Diffstat (limited to 'modules/gdnative/include/nativescript/godot_nativescript.h')
| -rw-r--r-- | modules/gdnative/include/nativescript/godot_nativescript.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/gdnative/include/nativescript/godot_nativescript.h b/modules/gdnative/include/nativescript/godot_nativescript.h index de47ec55c..cfbe16fa7 100644 --- a/modules/gdnative/include/nativescript/godot_nativescript.h +++ b/modules/gdnative/include/nativescript/godot_nativescript.h @@ -214,13 +214,16 @@ void GDAPI godot_nativescript_set_signal_documentation(void *p_gdnative_handle, // type tag API +void GDAPI godot_nativescript_set_global_type_tag(int p_idx, const char *p_name, const void *p_type_tag); +const void GDAPI *godot_nativescript_get_global_type_tag(int p_idx, const char *p_name); + void GDAPI godot_nativescript_set_type_tag(void *p_gdnative_handle, const char *p_name, const void *p_type_tag); const void GDAPI *godot_nativescript_get_type_tag(const godot_object *p_object); // instance binding API typedef struct { - GDCALLINGCONV void *(*alloc_instance_binding_data)(void *, godot_object *); + GDCALLINGCONV void *(*alloc_instance_binding_data)(void *, const void *, godot_object *); GDCALLINGCONV void (*free_instance_binding_data)(void *, void *); void *data; GDCALLINGCONV void (*free_func)(void *); |
