Replace bool, true and false with aliases
This commit is contained in:
@@ -28,6 +28,16 @@
|
||||
#define u32 uint32_t
|
||||
#define u64 uint64_t
|
||||
|
||||
#define b32 uint32_t
|
||||
|
||||
#ifndef false
|
||||
#define false (b32)0
|
||||
#endif
|
||||
|
||||
#ifndef true
|
||||
#define true (b32)1
|
||||
#endif
|
||||
|
||||
#define i8 int8_t
|
||||
#define i16 int16_t
|
||||
#define i32 int32_t
|
||||
|
||||
Reference in New Issue
Block a user