aboutsummaryrefslogtreecommitdiff
path: root/core/runtime
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2019-11-03 00:32:22 +0000
committergingerBill <bill@gingerbill.org>2019-11-03 00:32:22 +0000
commitebf7926fa495a7a2d400f44beb4c27888bda33e5 (patch)
tree231fe45243a069904c98c03acae05751625d7f71 /core/runtime
parentdfb3101ecf59797884cb959b3bfeda49ccfa3223 (diff)
SOA support of Structures and Arrays; Runtime information for SOA structs; fmt printing support for SOA structs
Diffstat (limited to 'core/runtime')
-rw-r--r--core/runtime/core.odin3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/runtime/core.odin b/core/runtime/core.odin
index 7ba98ae30..30555956e 100644
--- a/core/runtime/core.odin
+++ b/core/runtime/core.odin
@@ -87,6 +87,9 @@ Type_Info_Struct :: struct {
is_packed: bool,
is_raw_union: bool,
custom_align: bool,
+ // These are only set iff this structure is an SOA structure
+ soa_base_type: ^Type_Info,
+ soa_len: int,
};
Type_Info_Union :: struct {
variants: []^Type_Info,