1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-12 13:20:55 +00:00

Fix GDNative wrapper type sizes (RID, Variant, Packed*Array), add size checking static asserts.

This commit is contained in:
bruvzg
2020-05-16 13:58:14 +03:00
parent 988dd09047
commit 48d133a5fd
21 changed files with 53 additions and 9 deletions

View File

@@ -37,7 +37,7 @@ extern "C" {
#include <stdint.h>
#define GODOT_VARIANT_SIZE (16 + sizeof(void *))
#define GODOT_VARIANT_SIZE (16 + sizeof(int64_t))
#ifndef GODOT_CORE_API_GODOT_VARIANT_TYPE_DEFINED
#define GODOT_CORE_API_GODOT_VARIANT_TYPE_DEFINED