summaryrefslogtreecommitdiff
path: root/include/tinyff/result.h
diff options
context:
space:
mode:
authorTazyFoundSoup <gardendistrict0x0@outlook.com>2026-03-01 15:56:56 +1100
committerTazyFoundSoup <gardendistrict0x0@outlook.com>2026-03-01 15:56:56 +1100
commite6611a0bb47c93fd26c5ef4d7a7c7d2bfd099bf7 (patch)
treeaa9a61f923e8ec39e5829105e2edaca5ffb8c48d /include/tinyff/result.h
parent3d5f2d85d9e14ada21025920c9a69e756ca70b15 (diff)
feat(result): Create freestanding boolean alternative
Diffstat (limited to 'include/tinyff/result.h')
-rw-r--r--include/tinyff/result.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/tinyff/result.h b/include/tinyff/result.h
index e77c9b4..43bcf98 100644
--- a/include/tinyff/result.h
+++ b/include/tinyff/result.h
@@ -2,6 +2,11 @@
#define RESULT_H
typedef enum {
+ FF_TRUE = 0,
+ FF_FALSE = 1
+} FF_FLAG;
+
+typedef enum {
// -- SUCCESS --
FF_RESULT_OK = 0,