From b25ff71bb198c227b3202ee32a8067cda413bc16 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Sat, 9 May 2026 02:56:07 +0200 Subject: Add project skeleton --- type.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 type.h (limited to 'type.h') diff --git a/type.h b/type.h new file mode 100644 index 0000000..7de6c28 --- /dev/null +++ b/type.h @@ -0,0 +1,16 @@ +#ifndef TYPE_H +#define TYPE_H + +#include "lex.h" +#include "prv.h" +#include "parse.h" + +const struct type *type_ufind(const struct fn *fn, const char *s); +const struct type *type_find(const struct fn *fn, const char *s); +char *type_name(const struct type *t); +int type(const struct lex *l, struct prv *p, + int (*fn)(const struct lex *, struct prv *p, const struct type *t)); +void type_free(struct type *t); +void type_lfree(struct type *t); + +#endif -- cgit v1.2.3