diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2021-05-11 21:51:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-11 21:51:35 +0200 |
| commit | 0f334e60f2d4fd7c9ab7dd0feae12e6e682755da (patch) | |
| tree | ebdf22c631621287d5cfe9fc0c86de12bc09cf9f /modules | |
| parent | 048abb50aa8792958977cf398acadd5e9a1974db (diff) | |
| parent | ed11756d26c75864b40b2645d4f35ead20330876 (diff) | |
Merge pull request #48646 from akien-mga/gdnative-signal-callable-32bit
GDNative: Fix size mismatch on 32-bit platforms for Signal and Callable
Diffstat (limited to 'modules')
| -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 |