Add table tests
This commit is contained in:
2
core.h
2
core.h
@@ -16,6 +16,8 @@
|
||||
#include "defer.hpp"
|
||||
#define TABLE_ASSERT IO_Assert
|
||||
#define TABLE_ALLOCATOR_TYPE M_Allocator
|
||||
#define TABLE_ALLOCATE(allocator, size) M_Alloc(allocator, size)
|
||||
#define TABLE_DEALLOCATE(allocator, p) M_Dealloc(allocator, p)
|
||||
#define TABLE_SET_DEFAULT_ALLOCATOR \
|
||||
if (!allocator.p) allocator = M_GetSystemAllocator();
|
||||
#include "table.hpp"
|
||||
|
||||
Reference in New Issue
Block a user