addBlock
BlockSuballocator::addBlock
Adds a block to the BlockSuballocator and returns its offset.
Declaration
size_t addBlock(size_t size);
Parameters
Name |
Type |
Description |
---|---|---|
size |
size_t |
The block’s size to add to the BlockSuballocator. |
Returns
The block’s offset in the BlockSuballocator.