diff options
author | Konstantin Zaitsev <konstantin.zaitsev@xored.com> | 2017-09-18 11:28:25 +0700 |
---|---|---|
committer | Konstantin Zaitsev <konstantin.zaitsev@xored.com> | 2017-09-19 10:33:07 +0700 |
commit | c386a02654eae581183da0dfd138603a0667639e (patch) | |
tree | 8a5441c0fd8c8a4d10ab803e3abd70028d7edcf5 /modules/gdnative | |
parent | bc005a57d38137b062e0ccc26467353f53556930 (diff) |
Fix MSVC compilation errors
Diffstat (limited to 'modules/gdnative')
-rw-r--r-- | modules/gdnative/gdnative.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdnative/gdnative.cpp b/modules/gdnative/gdnative.cpp index 8cc8b0bec8..93a9bac11c 100644 --- a/modules/gdnative/gdnative.cpp +++ b/modules/gdnative/gdnative.cpp @@ -40,8 +40,8 @@ const String init_symbol = "godot_gdnative_init"; const String terminate_symbol = "godot_gdnative_terminate"; -#define GDAPI_FUNC(name, ret_type, ...) .name = name, -#define GDAPI_FUNC_VOID(name, ...) .name = name, +#define GDAPI_FUNC(name, ret_type, ...) name, +#define GDAPI_FUNC_VOID(name, ...) name, const godot_gdnative_api_struct api_struct = { GODOT_GDNATIVE_API_FUNCTIONS |