23 #ifndef B2_BLOCK_ALLOCATOR_H
24 #define B2_BLOCK_ALLOCATOR_H
29 const int32 b2_blockSizeCount = 14;
47 void Free(
void* p, int32 size);
57 b2Block* m_freeLists[b2_blockSizeCount];
Definition: b2_block_allocator.h:38
void * Allocate(int32 size)
Allocate memory. This will use b2Alloc if the size is larger than b2_maxBlockSize.
void Free(void *p, int32 size)
Free memory. This will use b2Free if the size is larger than b2_maxBlockSize.