aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/io.h
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-09-03 20:36:22 +0900
committernsfisis <nsfisis@gmail.com>2025-09-03 20:36:22 +0900
commit980d73ce25b116e645b16e9ed37dcf55fdffad7a (patch)
tree1039ecaa3a98b443a6818d660763051be1f5a54b /src/io.h
parent256cbd88c53d15884f3519ce75890c7bd1626cb2 (diff)
downloadducc-980d73ce25b116e645b16e9ed37dcf55fdffad7a.tar.gz
ducc-980d73ce25b116e645b16e9ed37dcf55fdffad7a.tar.zst
ducc-980d73ce25b116e645b16e9ed37dcf55fdffad7a.zip
feat: support native bool/true/false
Diffstat (limited to 'src/io.h')
-rw-r--r--src/io.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/io.h b/src/io.h
index fff3558..604b8f6 100644
--- a/src/io.h
+++ b/src/io.h
@@ -18,9 +18,9 @@ typedef struct {
} InFile;
InFile* infile_open(const char* filename);
-BOOL infile_eof(InFile* f);
+bool infile_eof(InFile* f);
char infile_peek_char(InFile* f);
char infile_next_char(InFile* f);
-BOOL infile_consume_if(InFile* f, char expected);
+bool infile_consume_if(InFile* f, char expected);
#endif