From ce36ecda4caa4a360987df240136e1230845872b Mon Sep 17 00:00:00 2001 From: karroffel Date: Sat, 31 Mar 2018 01:44:50 +0200 Subject: [GDNative] added GDCALLINGCONV to instance binding functions --- modules/gdnative/include/nativescript/godot_nativescript.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/gdnative') diff --git a/modules/gdnative/include/nativescript/godot_nativescript.h b/modules/gdnative/include/nativescript/godot_nativescript.h index 747328bc41..de47ec55cc 100644 --- a/modules/gdnative/include/nativescript/godot_nativescript.h +++ b/modules/gdnative/include/nativescript/godot_nativescript.h @@ -220,10 +220,10 @@ const void GDAPI *godot_nativescript_get_type_tag(const godot_object *p_object); // instance binding API typedef struct { - void *(*alloc_instance_binding_data)(void *, godot_object *); - void (*free_instance_binding_data)(void *, void *); + GDCALLINGCONV void *(*alloc_instance_binding_data)(void *, godot_object *); + GDCALLINGCONV void (*free_instance_binding_data)(void *, void *); void *data; - void (*free_func)(void *); + GDCALLINGCONV void (*free_func)(void *); } godot_instance_binding_functions; int GDAPI godot_nativescript_register_instance_binding_data_functions(godot_instance_binding_functions p_binding_functions); -- cgit v1.2.3