MaybeBool enum... might not be a good idea
This commit is contained in:
1 parent
842a1f8718
commit
91c2695cf4
1 file changed
+6
@@ -287,6 +287,12 @@ typedef u32 b32;
|
|||||||
#define true 1
|
#define true 1
|
||||||
#define false 0
|
#define false 0
|
||||||
|
|
||||||
|
typedef enum MaybeBool {
|
||||||
|
MaybeBoolNull,
|
||||||
|
MaybeBoolFalse,
|
||||||
|
MaybeBoolTrue,
|
||||||
|
} MaybeBool;
|
||||||
|
|
||||||
// Structs
|
// Structs
|
||||||
typedef struct Resulti64 {
|
typedef struct Resulti64 {
|
||||||
bool success;
|
bool success;
|
||||||
|
|||||||
Reference in new issue
Block a user