19 #ifndef B2_BLOCK_ALLOCATOR_H 20 #define B2_BLOCK_ALLOCATOR_H b2Block * m_freeLists[b2_blockSizes]
const int32 b2_maxBlockSize
void Free(void *p, int32 size)
Free memory. This will use b2Free if the size is larger than b2_maxBlockSize.
static int32 s_blockSizes[b2_blockSizes]
static uint8 s_blockSizeLookup[b2_maxBlockSize+1]
void * Allocate(int32 size)
Allocate memory. This will use b2Alloc if the size is larger than b2_maxBlockSize.
static bool s_blockSizeLookupInitialized
const int32 b2_chunkArrayIncrement
const int32 b2_blockSizes