diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2021-05-11 18:35:03 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2021-05-11 20:25:01 +0200 |
commit | ed11756d26c75864b40b2645d4f35ead20330876 (patch) | |
tree | ebdf22c631621287d5cfe9fc0c86de12bc09cf9f /modules/gdnative | |
parent | 048abb50aa8792958977cf398acadd5e9a1974db (diff) |
GDNative: Fix size mismatch on 32-bit platforms for Signal and Callable
Fixes #48645.
Diffstat (limited to 'modules/gdnative')
-rw-r--r-- | modules/gdnative/include/gdnative/callable.h | 1 | ||||
-rw-r--r-- | modules/gdnative/include/gdnative/signal.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/modules/gdnative/include/gdnative/callable.h b/modules/gdnative/include/gdnative/callable.h index b84b0c1f1f..1d52ca7a68 100644 --- a/modules/gdnative/include/gdnative/callable.h +++ b/modules/gdnative/include/gdnative/callable.h @@ -37,6 +37,7 @@ extern "C" { #include <stdint.h> +// Alignment hardcoded in `core/variant/callable.h`. #define GODOT_CALLABLE_SIZE (16) #ifndef GODOT_CORE_API_GODOT_CALLABLE_TYPE_DEFINED diff --git a/modules/gdnative/include/gdnative/signal.h b/modules/gdnative/include/gdnative/signal.h index f4dc17e089..41a76d0510 100644 --- a/modules/gdnative/include/gdnative/signal.h +++ b/modules/gdnative/include/gdnative/signal.h @@ -37,6 +37,7 @@ extern "C" { #include <stdint.h> +// Alignment hardcoded in `core/variant/callable.h`. #define GODOT_SIGNAL_SIZE (16) #ifndef GODOT_CORE_API_GODOT_SIGNAL_TYPE_DEFINED |