aboutsummaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'types.h')
-rw-r--r--types.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/types.h b/types.h
index df913de5..1de2a94f 100644
--- a/types.h
+++ b/types.h
@@ -52,6 +52,7 @@ struct type_s {
PointerType,
StructType,
EnumType,
+ InterfaceType,
TypeInfoType,
ModuleType,
} tag;
@@ -99,6 +100,12 @@ struct type_s {
struct env_s *env;
} EnumType;
struct {
+ const char *name, *type_parameter;
+ arg_t *fields;
+ bool opaque;
+ struct env_s *env;
+ } InterfaceType;
+ struct {
const char *name;
type_t *type;
struct env_s *env;