mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Union tag stored as an integer
This commit is contained in:
@@ -86,6 +86,7 @@ Type_Info_Struct :: struct #ordered {
|
||||
Type_Info_Union :: struct #ordered {
|
||||
variants: []^Type_Info,
|
||||
tag_offset: int,
|
||||
tag_type: ^Type_Info,
|
||||
};
|
||||
Type_Info_Enum :: struct #ordered {
|
||||
base: ^Type_Info,
|
||||
|
||||
Reference in New Issue
Block a user