summaryrefslogtreecommitdiff
path: root/include/parser
diff options
context:
space:
mode:
Diffstat (limited to 'include/parser')
-rw-r--r--include/parser/type.h2
1 files changed, 2 insertions, 0 deletions
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 */