summaryrefslogtreecommitdiff
path: root/include/tinyff/result.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/tinyff/result.h')
-rw-r--r--include/tinyff/result.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/tinyff/result.h b/include/tinyff/result.h
index b2bf31c..7609f59 100644
--- a/include/tinyff/result.h
+++ b/include/tinyff/result.h
@@ -1,9 +1,11 @@
#ifndef RESULT_H
#define RESULT_H
+#include <stdbool.h>
+
typedef enum {
- FF_TRUE = 0,
- FF_FALSE = 1
+ FF_TRUE = true,
+ FF_FALSE = false
} FF_FLAG;
typedef enum {