Allocate memory in a memory pool
Source position: exec.pas line 1754
function AllocPooled( |
PoolHeader: Pointer; |
MemSize: LongWord |
):Pointer; |
PoolHeader |
|
Pointer to the memory pool in which the memory should be allocated. |
MemSize |
|
Size of the memory block in bytes |
Pointer to the allocated memory or nil
Allocates memory in a memory pool which is tracked in the pool. A call to DeletePool will free all memory blocks allocated in the pool.
|
Free pooled memory block |
|
|
Create a new pool for memory allocations |
|
|
Free a memory pool |