Internal changes; thread.odin for windows only

This commit is contained in:
Ginger Bill
2017-07-20 23:57:56 +01:00
parent 401a5955a4
commit dbddec33c8
8 changed files with 245 additions and 62 deletions
+6
View File
@@ -7,6 +7,7 @@ import (
"raw.odin";
)
_BUFFER_SIZE :: 1<<12;
StringBuffer :: union {
@@ -749,6 +750,11 @@ fmt_value :: proc(fi: ^FmtInfo, v: any, verb: rune) {
fmt_bad_verb(fi, verb);
return;
}
if b.is_raw_union {
write_string(fi.buf, info.name);
write_string(fi.buf, "{}");
return;
}
write_string(fi.buf, info.name);
write_byte(fi.buf, '{');
for _, i in b.names {