From 810ef260dbd916e29c683f0658050e6047c33aa1 Mon Sep 17 00:00:00 2001 From: TazyFoundSoup Date: Mon, 30 Mar 2026 16:17:42 +1100 Subject: refactor(result): FF_FLAG using bool instead of binary --- include/tinyff/result.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/tinyff/result.h') 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 + typedef enum { - FF_TRUE = 0, - FF_FALSE = 1 + FF_TRUE = true, + FF_FALSE = false } FF_FLAG; typedef enum { -- cgit v1.2.3