from panda3d.core import SimpleAllocatorBlock
- class SimpleAllocatorBlock¶
A single block as returned from
Releases the allocated space.
- getAllocator() SimpleAllocator ¶
SimpleAllocatorobject that owns this block. Returns NULL if the block has been freed.
- getMaxSize() int ¶
Returns the maximum size this block can be reallocated to, as limited by the following block.
- getNextBlock() SimpleAllocatorBlock ¶
Returns a pointer to the next allocated block in the chain, or NULL if there are no more allocated blocks.
- getSize() int ¶
Returns the size of this block. It is an error to call this if the block has been freed.
- getStart() int ¶
Returns the starting point of this block. It is an error to call this if the block has been freed.