mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-17 11:22:22 -07:00
using on struct/union fields
This commit is contained in:
@@ -112,6 +112,8 @@ struct Type {
|
||||
b32 is_packed;
|
||||
} Struct;
|
||||
struct {
|
||||
// IMPORTANT HACK(bill): The positions of fields and field_count
|
||||
// must be same for Struct and Union
|
||||
Entity **fields; // Entity_Variable
|
||||
isize field_count;
|
||||
} Union;
|
||||
|
||||
Reference in New Issue
Block a user