using on struct/union fields

This commit is contained in:
Ginger Bill
2016-08-24 23:25:56 +01:00
parent 6bd898e552
commit d2c64be85c
11 changed files with 460 additions and 188 deletions
+6 -6
View File
@@ -258,18 +258,18 @@ AllocatorProc :: type proc(allocator_data: rawptr, mode: AllocationMode,
old_memory: rawptr, old_size: int, flags: u64) -> rawptr;
Allocator :: type struct {
procedure: AllocatorProc,
data: rawptr,
procedure: AllocatorProc;
data: rawptr;
}
Context :: type struct {
thread_id: i32,
thread_id: i32;
user_index: i32,
user_data: rawptr,
user_index: i32;
user_data: rawptr;
allocator: Allocator,
allocator: Allocator;
}
#thread_local context: Context;