diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-09-03 20:36:22 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-09-03 20:36:22 +0900 |
| commit | 980d73ce25b116e645b16e9ed37dcf55fdffad7a (patch) | |
| tree | 1039ecaa3a98b443a6818d660763051be1f5a54b /src/common.h | |
| parent | 256cbd88c53d15884f3519ce75890c7bd1626cb2 (diff) | |
| download | ducc-980d73ce25b116e645b16e9ed37dcf55fdffad7a.tar.gz ducc-980d73ce25b116e645b16e9ed37dcf55fdffad7a.tar.zst ducc-980d73ce25b116e645b16e9ed37dcf55fdffad7a.zip | |
feat: support native bool/true/false
Diffstat (limited to 'src/common.h')
| -rw-r--r-- | src/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h index b31dfc4..4bd4c17 100644 --- a/src/common.h +++ b/src/common.h @@ -8,7 +8,7 @@ _Noreturn void fatal_error(const char* msg, ...); #define unreachable() fatal_error("%s:%d: unreachable", __FILE__, __LINE__) #define unimplemented() fatal_error("%s:%d: unimplemented", __FILE__, __LINE__) -BOOL str_ends_with(const char* s, const char* suffix); +bool str_ends_with(const char* s, const char* suffix); typedef struct { size_t len; |
