|
| static uint8_t * | RawAlloc (size_t chunkCount) |
| |
| static void | Free (uint8_t *chunk) |
| |
§ Free()
| static void MxEngine::ChunkAllocator::Free |
( |
uint8_t * |
chunk | ) |
|
|
inlinestatic |
frees chunk allocated by RawAlloc
- Parameters
-
| chunk | pointer to first chunk |
§ RawAlloc()
| static uint8_t* MxEngine::ChunkAllocator::RawAlloc |
( |
size_t |
chunkCount | ) |
|
|
inlinestatic |
allocates chunks of memory using malloc
- Parameters
-
| chunkCount | number of chunk to allocate |
- Returns
- pointer to first chunk
§ ChunkSize
| constexpr size_t MxEngine::ChunkAllocator::ChunkSize = 4096 |
|
static |
chunk size, defaults to 4KB
The documentation for this class was generated from the following file: