aboutsummaryrefslogtreecommitdiff
path: root/include/cu/scope.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2023-04-01 14:51:20 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2023-04-01 14:51:20 +0300
commit4642bedb436981e92e3312f06bfcb2eb34074596 (patch)
treecc5bf868a391c9880b9917eed44b20e4df535d1d /include/cu/scope.h
parent0132be5b71f3fe161b2fcda201c945d30bd8d1a5 (diff)
downloadek-4642bedb436981e92e3312f06bfcb2eb34074596.tar.gz
ek-4642bedb436981e92e3312f06bfcb2eb34074596.zip
disallow certain kinds of types in templates
Diffstat (limited to 'include/cu/scope.h')
-rw-r--r--include/cu/scope.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/cu/scope.h b/include/cu/scope.h
index 5a75427..d8fd2c4 100644
--- a/include/cu/scope.h
+++ b/include/cu/scope.h
@@ -166,4 +166,7 @@ struct ast_node *file_scope_resolve_call(struct scope *scope,
int implements(enum match_flags flags, struct scope *scope,
struct ast_node *arg_type,
struct ast_node *param_type);
+int primitive_type(struct ast_node *type);
+int fully_qualified(struct ast_node *type);
+
#endif /* SCOPE_H */