aboutsummaryrefslogtreecommitdiff
path: root/src/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h
index 7aadd8d..a1f6923 100644
--- a/src/types.h
+++ b/src/types.h
@@ -23,7 +23,9 @@ i64 size_for_type(Type *type);
char *type_to_str(Type *type);
bool type_equals(Type *a, Type *b);
+bool is_int_type(Type *type);
bool is_string_type(Type *type);
+bool is_convertible(Type *from, Type *to);
// Type checking / casting expressions to right types
typedef struct ast_node Node;