aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast.h')
-rw-r--r--src/ast.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ast.h b/src/ast.h
index 79d58d0..0749420 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -65,6 +65,7 @@ typedef struct Type {
} Type;
Type* type_new(TypeKind kind);
+Type* type_dup(Type* src);
Type* type_new_ptr(Type* base);
Type* type_new_array(Type* elem, int size);
Type* type_new_static_string(int len);