Implicit Values: context; Fix lvalue selector assignments; Fix offset_of* for using fields.

This commit is contained in:
Ginger Bill
2016-10-10 10:27:50 +01:00
parent 90babbfbf3
commit f5318c46d1
15 changed files with 226 additions and 6908 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ init_arena_from_memory :: proc(using a: ^Arena, data: []byte) {
}
init_arena_from_context :: proc(using a: ^Arena, size: int) {
backing = current_context().allocator
backing = context.allocator
memory = new_slice(u8, 0, size)
temp_count = 0
}