From 62090a4830bd9f01e56b08f50d502d680be9d1de Mon Sep 17 00:00:00 2001 From: A404M Date: Sat, 17 May 2025 13:41:56 +0330 Subject: add comptime if checking --- src/compiler/ast-tree.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/compiler/ast-tree.h') 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); -- cgit v1.2.3