summaryrefslogtreecommitdiff
path: root/modules/gdnative/godot/array.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gdnative/godot/array.h')
-rw-r--r--modules/gdnative/godot/array.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdnative/godot/array.h b/modules/gdnative/godot/array.h
index 434ce958c9..08f73c8785 100644
--- a/modules/gdnative/godot/array.h
+++ b/modules/gdnative/godot/array.h
@@ -37,7 +37,7 @@ extern "C" {
#include <stdint.h>
-#define GODOT_ARRAY_SIZE 8
+#define GODOT_ARRAY_SIZE sizeof(void *)
#ifndef GODOT_CORE_API_GODOT_ARRAY_TYPE_DEFINED
#define GODOT_CORE_API_GODOT_ARRAY_TYPE_DEFINED