diff options
Diffstat (limited to 'stdlib/types.h')
| -rw-r--r-- | stdlib/types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/types.h b/stdlib/types.h index f644390a..36508393 100644 --- a/stdlib/types.h +++ b/stdlib/types.h @@ -29,7 +29,7 @@ struct TypeInfo_s { int64_t size, align; metamethods_t metamethods; struct { // Anonymous tagged union for convenience - enum { OpaqueInfo, StructInfo, EnumInfo, PointerInfo, TextInfo, ArrayInfo, ChannelInfo, TableInfo, FunctionInfo, + enum { OpaqueInfo, StructInfo, EnumInfo, PointerInfo, TextInfo, ArrayInfo, TableInfo, FunctionInfo, OptionalInfo, TypeInfoInfo } tag; union { struct {} OpaqueInfo; @@ -42,7 +42,7 @@ struct TypeInfo_s { } TextInfo; struct { const TypeInfo_t *item; - } ArrayInfo, ChannelInfo; + } ArrayInfo; struct { const TypeInfo_t *key, *value; } TableInfo; |
