aboutsummaryrefslogtreecommitdiffhomepage
path: root/ast.c
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-08-04 06:10:33 +0900
committernsfisis <nsfisis@gmail.com>2025-08-15 10:06:21 +0900
commit1edc3a61992e24ab95306ad5506e6b33cbcf765a (patch)
tree447dd7722fc784c03aa59159d69c609bef4c7a98 /ast.c
parent6f880873fbc49f44df6d2d19a76ceeb4052890c0 (diff)
downloadducc-1edc3a61992e24ab95306ad5506e6b33cbcf765a.tar.gz
ducc-1edc3a61992e24ab95306ad5506e6b33cbcf765a.tar.zst
ducc-1edc3a61992e24ab95306ad5506e6b33cbcf765a.zip
refactor: define BOOL/TRUE/FALSE macros
Diffstat (limited to 'ast.c')
-rw-r--r--ast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ast.c b/ast.c
index 3eafa94..8f474ac 100644
--- a/ast.c
+++ b/ast.c
@@ -87,7 +87,7 @@ Type* type_array_to_ptr(Type* ty) {
return type_new_ptr(ty->base);
}
-int type_is_unsized(Type* ty) {
+BOOL type_is_unsized(Type* ty) {
return ty->kind == TypeKind_void;
}