aboutsummaryrefslogtreecommitdiff
path: root/src/compiler/ast-tree.h
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-05-17 13:41:56 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-05-17 13:41:56 +0330
commit62090a4830bd9f01e56b08f50d502d680be9d1de (patch)
tree6da2b3b9a2cdbb452c73a0aec3dbb56662535366 /src/compiler/ast-tree.h
parente57d53a699147fcdf418de76908080311cf82710 (diff)
add comptime if checking
Diffstat (limited to 'src/compiler/ast-tree.h')
-rw-r--r--src/compiler/ast-tree.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/ast-tree.h b/src/compiler/ast-tree.h
index dc62f1d..d2eaffd 100644
--- a/src/compiler/ast-tree.h
+++ b/src/compiler/ast-tree.h
@@ -483,3 +483,5 @@ AstTreeVariable *setTypesFindVariable(const char *name_begin,
char *u8ArrayToCString(AstTree *tree);
AstTree *makeStringType();
+
+size_t getSizeOfType(AstTree *type);