mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-03 22:28:46 +00:00
Prepare SOA Struct code for slices and dynamic arrays *to be implemented*
This commit is contained in:
+2
-2
@@ -1086,7 +1086,7 @@ fmt_value :: proc(fi: ^Info, v: any, verb: rune) {
|
||||
return;
|
||||
};
|
||||
|
||||
is_soa := b.soa_base_type != nil;
|
||||
is_soa := b.soa_kind != .None;
|
||||
|
||||
strings.write_string(fi.buf, info.name);
|
||||
strings.write_byte(fi.buf, is_soa ? '[' : '{');
|
||||
@@ -1329,7 +1329,7 @@ fmt_value :: proc(fi: ^Info, v: any, verb: rune) {
|
||||
return;
|
||||
}
|
||||
|
||||
is_soa := info.soa_base_type != nil;
|
||||
is_soa := info.soa_kind != .None;
|
||||
|
||||
strings.write_byte(fi.buf, is_soa ? '[' : '{');
|
||||
defer strings.write_byte(fi.buf, is_soa ? ']' : '}');
|
||||
|
||||
Reference in New Issue
Block a user