Update package json for new map layout; Correct llvm-api includes for *nix

This commit is contained in:
gingerBill
2020-11-25 16:19:56 +00:00
parent 9c1c9693f2
commit dbaf4d24f6
4 changed files with 31 additions and 4 deletions
+4 -4
View File
@@ -210,12 +210,12 @@ marshal_arg :: proc(b: ^strings.Builder, v: any) -> Marshal_Error {
data := uintptr(entries.data) + uintptr(i*entry_size);
header := cast(^Map_Entry_Header)data;
marshal_arg(b, any{rawptr(&header.key.key.val), info.key.id});
key := rawptr(data + entry_type.offsets[2]);
value := rawptr(data + entry_type.offsets[3]);
marshal_arg(b, any{key, info.key.id});
write_string(b, ": ");
value := data + entry_type.offsets[2];
marshal_arg(b, any{rawptr(value), info.value.id});
marshal_arg(b, any{value, info.value.id});
}
}
write_byte(b, '}');