Allocate memory in a memory pool
Source position: exec.pas line 1196
| 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 |