diff options
author | George Marques <george@gmarqu.es> | 2021-07-27 09:00:56 -0300 |
---|---|---|
committer | George Marques <george@gmarqu.es> | 2021-07-27 09:00:56 -0300 |
commit | 84c37423fba88655d5b40474c4fcafca39da46bb (patch) | |
tree | d8de7d88e91c0d8454149c9a1ebc3e8b29b9fbb8 /core/extension | |
parent | 0f7b7bcbce32bca96a0d9fe08a2335cce81fae2a (diff) |
Change Variant bool conversion to uint8_t
This ensures more portable conversion since not every path assume bool
is 32-bits and there's no loss converting to 8-bits anyway.
Diffstat (limited to 'core/extension')
-rw-r--r-- | core/extension/gdnative_interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/extension/gdnative_interface.h b/core/extension/gdnative_interface.h index c1ebb3e76a..3e69a28d59 100644 --- a/core/extension/gdnative_interface.h +++ b/core/extension/gdnative_interface.h @@ -134,7 +134,7 @@ typedef void *GDNativeObjectPtr; typedef void *GDNativeTypePtr; typedef void *GDNativeMethodBindPtr; typedef int64_t GDNativeInt; -typedef uint32_t GDNativeBool; +typedef uint8_t GDNativeBool; typedef uint64_t GDObjectInstanceID; /* VARIANT DATA I/O */ |