Handmade Hero»Forums»Code
David Roguin
15 posts
bool32
Would it be a good idea to typedef uint8_t bool8 for true/false variables?
Casey Muratori
801 posts / 1 project
Casey Muratori is a programmer at Molly Rocket on the game 1935 and is the host of the educational programming series Handmade Hero.
bool32
I suspect you want to leave them to be 32-bit aligned for the most part, but in general if we cared about the size we would pack them into a bitfield with other bools.

- Casey