Nested record declarations
This commit is contained in:
1 parent
069a47220e
commit
ce4b7b8b7d
7 files changed
+222
-92
No files matched your search
@@ -34,6 +34,8 @@ CallingConvention :: enum {
|
||||
}
|
||||
// IMPORTANT NOTE(bill): Do not change the order of any of this data
|
||||
// The compiler relies upon this _exact_ order
|
||||
|
||||
|
||||
TypeInfoEnumValue :: raw_union {
|
||||
f: f64;
|
||||
i: i128;
|
||||
@@ -49,6 +51,7 @@ TypeInfoRecord :: struct #ordered {
|
||||
custom_align: bool;
|
||||
}
|
||||
|
||||
|
||||
TypeInfo :: union {
|
||||
size: int;
|
||||
align: int;
|
||||
|
||||
Reference in new issue
Block a user