summaryrefslogtreecommitdiff
path: root/modules/gdnative/godot/array.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-08-31 13:51:10 +0200
committerGitHub <noreply@github.com>2017-08-31 13:51:10 +0200
commit6f762ad70993afbbcb496d003ac1ee09f5bc9556 (patch)
treec55e2a7dc8fda376f0058be1604f001f56216301 /modules/gdnative/godot/array.h
parent51066fcde78714bde438d84486624431bcca7188 (diff)
parent5ccdeccb6ed6b8480a86b0db36f192526cba1274 (diff)
Merge pull request #10422 from endragor/gdnative-android
Make GDNative work on Android
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