diff options
| author | Zuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian> | 2026-01-17 00:10:30 +0000 |
|---|---|---|
| committer | Zuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian> | 2026-01-17 00:10:30 +0000 |
| commit | ea160abc678e9578b5e140121a6d7c59a3b9dd06 (patch) | |
| tree | 0ae4d0ed1449f74d6cc361a5f8787892c0789168 /src/ast/ast.h | |
| parent | a5d5a97818fb4fbd26c4fb25a5c410b1a60a1b18 (diff) | |
Improved struct pointer codegen, template instantiation and docs...
Diffstat (limited to 'src/ast/ast.h')
| -rw-r--r-- | src/ast/ast.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ast/ast.h b/src/ast/ast.h index 1b83a91..e9270c8 100644 --- a/src/ast/ast.h +++ b/src/ast/ast.h @@ -54,6 +54,7 @@ typedef struct Type struct Type **args; // For GENERIC args. int arg_count; int is_const; + int is_explicit_struct; // e.g. "struct Foo" vs "Foo" union { int array_size; // For fixed-size arrays [T; N]. @@ -548,5 +549,6 @@ Type *type_new_ptr(Type *inner); int type_eq(Type *a, Type *b); int is_integer_type(Type *t); char *type_to_string(Type *t); +char *type_to_c_string(Type *t); #endif |
