summaryrefslogtreecommitdiff
path: root/modules/gdnative/gdnative.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-09-19 14:58:19 +0200
committerGitHub <noreply@github.com>2017-09-19 14:58:19 +0200
commitba4439c4914582f10b06168a50244d82efe84b20 (patch)
tree5d486716f73cf24ebf6f56581808deb3fa7025da /modules/gdnative/gdnative.cpp
parent36e8bee7524ca71609e14b71c7bf427eb832179a (diff)
parent28dc30cd594efbea667fd9a5e507f3ecf8d25450 (diff)
Merge pull request #11386 from kosz78/fix-msvc-compile-errors
Fix MSVC compilation errors
Diffstat (limited to 'modules/gdnative/gdnative.cpp')
-rw-r--r--modules/gdnative/gdnative.cpp4
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