Add source locs to allocator procs
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
#include "../standalone_libraries/table.hpp"
|
||||
#define ARRAY_ASSERT IO_Assert
|
||||
#define ARRAY_Allocator M_Allocator
|
||||
#define ARRAY_REALLOCATE(allocator, p, size, old_size) M_ReallocNonZeroed(allocator, p, size, old_size)
|
||||
#define ARRAY_REALLOCATE(allocator, p, size, old_size) M_Realloc(allocator, p, size, old_size)
|
||||
#define ARRAY_DEALLOCATE(allocator, p) M_Dealloc(allocator, p)
|
||||
#define ARRAY_SET_DEFAULT_ALLOCATOR \
|
||||
if (!allocator.p) allocator = M_GetSystemAllocator();
|
||||
|
||||
Reference in New Issue
Block a user