Technical debt: ENUM_32_BITS #3874
This commit is contained in:
parent
736c7f33d9
commit
5b63faafa0
|
@ -242,7 +242,7 @@ typedef enum {
|
|||
TEST_108 = 108,
|
||||
TEST_109 = 109,
|
||||
TEST_110 = 110,
|
||||
|
||||
// todo: Technical debt: ENUM_32_BITS #3874
|
||||
Force_4_bytes_size_engine_type = ENUM_32_BITS,
|
||||
} engine_type_e;
|
||||
|
||||
|
|
|
@ -88,6 +88,7 @@ struct_no_prefix engine_configuration_s
|
|||
|
||||
! Back in the day we wanted enums to be 32 bit integers.
|
||||
! as of 2020 preference is with ' __attribute__ ((__packed__))' allowing one-byte enums
|
||||
! todo: Technical debt: ENUM_32_BITS #3874
|
||||
#define ENUM_16_BITS 60000
|
||||
#define ENUM_32_BITS 2000000000
|
||||
|
||||
|
|
Loading…
Reference in New Issue