summaryrefslogtreecommitdiff
path: root/modules/gdnative/godot/variant.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gdnative/godot/variant.h')
-rw-r--r--modules/gdnative/godot/variant.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdnative/godot/variant.h b/modules/gdnative/godot/variant.h
index fda24db8d4..849ba8bda6 100644
--- a/modules/gdnative/godot/variant.h
+++ b/modules/gdnative/godot/variant.h
@@ -36,7 +36,7 @@ extern "C" {
#include <stdint.h>
-#define GODOT_VARIANT_SIZE 24
+#define GODOT_VARIANT_SIZE (16 + sizeof(void *))
#ifndef GODOT_CORE_API_GODOT_VARIANT_TYPE_DEFINED
#define GODOT_CORE_API_GODOT_VARIANT_TYPE_DEFINED