summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkarroffel <therzog@mail.de>2018-03-31 01:44:50 +0200
committerkarroffel <therzog@mail.de>2018-03-31 01:44:50 +0200
commitce36ecda4caa4a360987df240136e1230845872b (patch)
treea3d3a93080197fec1801ef6623a5135fbac3fa6a
parentc2c82a6ea27baf4faa3cb21f460a3f7814073d0d (diff)
[GDNative] added GDCALLINGCONV to instance binding functions
-rw-r--r--modules/gdnative/include/nativescript/godot_nativescript.h6
1 files changed, 3 insertions, 3 deletions
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);