diff options
| author | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2026-03-30 16:17:42 +1100 |
|---|---|---|
| committer | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2026-03-30 16:17:42 +1100 |
| commit | 810ef260dbd916e29c683f0658050e6047c33aa1 (patch) | |
| tree | d922f22db48091df495c7cd579607165d48e6d0e /include/tinyff/result.h | |
| parent | 0586891c02f3e038ba665450badc09e31f30ff28 (diff) | |
refactor(result): FF_FLAG using bool instead of binary
Diffstat (limited to 'include/tinyff/result.h')
| -rw-r--r-- | include/tinyff/result.h | 6 |
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 { |
