diff options
Diffstat (limited to 'types.h')
| -rw-r--r-- | types.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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; |
