diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/hashmap.h | 1 | ||||
-rw-r--r-- | include/parser/type.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/hashmap.h b/include/hashmap.h index 26dfc61..3663754 100644 --- a/include/hashmap.h +++ b/include/hashmap.h @@ -29,6 +29,7 @@ hashmap_remove(struct hashmap_entry *entry) void hashmap_add(struct hashmap *map, struct hashmap_entry *entry); struct hashmap_entry *hashmap_find(struct hashmap *map, hash_t hash); +void hashmap_free_entries(struct hashmap *map); void hashmap_init(struct hashmap *map); #endif /* !_HASHMAP_H */ diff --git a/include/parser/type.h b/include/parser/type.h index 6a939ab..b4c16cb 100644 --- a/include/parser/type.h +++ b/include/parser/type.h @@ -7,6 +7,7 @@ #ifndef _PARSER_TYPE_H #define _PARSER_TYPE_H +#include <stdbool.h> #include <stddef.h> #include "hashmap.h" #include "parser.h" @@ -53,5 +54,6 @@ struct type { }; void parse_type(struct parser *ctx); +bool parse_type_ref(struct parser *ctx, struct type **typ_out, int *n_ptrs_out); #endif /* !_PARSER_TYPE_H */ |