diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-05-12 13:50:06 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-05-12 13:50:06 -0400 |
| commit | d143c72b2267883c229a09cc27bbeafcf2c3fd70 (patch) | |
| tree | 90312f0e4ee553e0588dc3c45f955b5184bf3778 /types.h | |
| parent | a20f522fd61698282d3e01931260c588dd7f40b1 (diff) | |
WIP, but functional interfaces
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; |
