summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Zaitsev <konstantin.zaitsev@xored.com>2017-09-19 11:35:51 +0700
committerKonstantin Zaitsev <konstantin.zaitsev@xored.com>2017-09-19 11:35:51 +0700
commit28dc30cd594efbea667fd9a5e507f3ecf8d25450 (patch)
tree0b6ca82abd5a5e6adcd4d821e704c72b96a14386
parentc386a02654eae581183da0dfd138603a0667639e (diff)
Change structure order for godot nim compatibility
-rw-r--r--modules/gdnative/include/gdnative/gdnative.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdnative/include/gdnative/gdnative.h b/modules/gdnative/include/gdnative/gdnative.h
index 04dca6f56d..1c5e91d733 100644
--- a/modules/gdnative/include/gdnative/gdnative.h
+++ b/modules/gdnative/include/gdnative/gdnative.h
@@ -237,12 +237,12 @@ godot_variant GDAPI godot_method_bind_call(godot_method_bind *p_method_bind, god
struct godot_gdnative_api_struct; // Forward declaration
typedef struct {
- const struct godot_gdnative_api_struct *api_struct;
godot_bool in_editor;
uint64_t core_api_hash;
uint64_t editor_api_hash;
uint64_t no_api_hash;
godot_object *gd_native_library; // pointer to GDNativeLibrary that is being initialized
+ const struct godot_gdnative_api_struct *api_struct;
} godot_gdnative_init_options;
typedef struct {