aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-04-09 12:59:07 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-04-09 12:59:07 +0300
commit451111dc51df69580d04c9965f70531f50e3d509 (patch)
tree379a7123f2588f149021c896118ce0ded4f5a9cc /include
parentf86cb1e9ec6cb562d1d0ebf4b0fd7119296ff10d (diff)
downloadek-451111dc51df69580d04c9965f70531f50e3d509.tar.gz
ek-451111dc51df69580d04c9965f70531f50e3d509.zip
add initial ufcs checks
Diffstat (limited to 'include')
-rw-r--r--include/ek/ast.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ek/ast.h b/include/ek/ast.h
index 27e82e3..8f509cd 100644
--- a/include/ek/ast.h
+++ b/include/ek/ast.h
@@ -640,6 +640,9 @@ void type_dump(struct type *node);
void ast_append(struct ast *list, struct ast *elem);
void type_append(struct type *list, struct type *elem);
+struct ast * ast_prepend(struct ast *list, struct ast *elem);
+struct type * type_prepend(struct type *list, struct type *elem);
+
void ast_set_flags(struct ast *node, enum ast_flags flags);
void ast_clear_flags(struct ast *node, enum ast_flags flags);
unsigned ast_flags(struct ast *node, enum ast_flags flags);