Change import lookup

This commit is contained in:
gingerBill
2018-05-27 23:46:08 +01:00
parent a513b47780
commit 4e203feaf4
4 changed files with 10 additions and 6 deletions
+2 -2
View File
@@ -166,7 +166,7 @@ Allocator :: struct {
Context :: struct {
allocator: mem.Allocator,
allocator: Allocator,
thread_id: int,
user_data: any,
@@ -494,7 +494,7 @@ __dynamic_array_reserve :: proc(array_: rawptr, elem_size, elem_align: int, cap:
new_size := cap * elem_size;
allocator := array.allocator;
new_data := allocator.procedure(allocator.data, mem.Allocator_Mode.Resize, new_size, elem_align, array.data, old_size, 0, loc);
new_data := allocator.procedure(allocator.data, Allocator_Mode.Resize, new_size, elem_align, array.data, old_size, 0, loc);
if new_data == nil do return false;
array.data = new_data;