Trying to figure out this bug with pools...

This commit is contained in:
2024-03-20 13:34:47 -04:00
parent fb1a6063a7
commit 714d60ee34
10 changed files with 101 additions and 33 deletions

View File

@ -60,7 +60,7 @@ array_init_reserve :: proc
raw_mem : rawptr
raw_mem, alloc_error = alloc( array_size, allocator = allocator )
log( str_fmt_tmp("array reserved: %d", header_size + int(capacity) * size_of(Type) ))
// log( str_fmt_tmp("array reserved: %d", header_size + int(capacity) * size_of(Type) ))
if alloc_error != AllocatorError.None do return
result.header = cast( ^ArrayHeader(Type)) raw_mem;