▲ | flohofwoe 3 days ago | ||||||||||||||||||||||
Since you're using C99 as the base C version, why not use the fixed-width types from stdint.h (int32_t, int64_t, ...)? You can still typedef those to i32, i64 shortcuts etc, but I would try to avoid this in libraries since it might collide with user typedefs of the same name - or at least try to avoid it in the public API declarations. | |||||||||||||||||||||||
▲ | colleagueRiley 3 days ago | parent [-] | ||||||||||||||||||||||
I use those by default although I read that MSVC's support for those are iffy. I'm pretty sure STB does the same thing for the same reason. Source: https://handmade.network/forums/articles/t/7138-how_to_write... | |||||||||||||||||||||||
|