This commit is contained in:
Ginger Bill
2017-06-07 22:09:16 +01:00
parent f60c772c11
commit 574b82c0c7
9 changed files with 224 additions and 33 deletions
+2 -2
View File
@@ -158,8 +158,8 @@ AllocatorMode :: enum u8 {
Resize,
}
AllocatorProc :: #type proc(allocator_data: rawptr, mode: AllocatorMode,
size, alignment: int,
old_memory: rawptr, old_size: int, flags: u64) -> rawptr;
size, alignment: int,
old_memory: rawptr, old_size: int, flags: u64) -> rawptr;
Allocator :: struct #ordered {
procedure: AllocatorProc,
data: rawptr,