Begin supporting string16 across the core library
This commit is contained in:
1 parent
2561427dd3
commit
ae02d3d02d
20 files changed
+230
-32
No files matched your search
@@ -511,9 +511,11 @@ write_type_writer :: #force_no_inline proc(w: io.Writer, ti: ^Type_Info, n_writt
|
||||
io.write_i64(w, i64(8*ti.size), 10, &n) or_return
|
||||
case Type_Info_String:
|
||||
if info.is_cstring {
|
||||
io.write_string(w, "cstring", &n) or_return
|
||||
} else {
|
||||
io.write_string(w, "string", &n) or_return
|
||||
io.write_byte(w, 'c', &n) or_return
|
||||
}
|
||||
io.write_string(w, "string", &n) or_return
|
||||
if info.is_utf16 {
|
||||
io.write_string(w, "16", &n) or_return
|
||||
}
|
||||
case Type_Info_Boolean:
|
||||
switch ti.id {
|
||||
|
||||
Reference in new issue
Block a user