[Overview][Types][Classes][Index] |
Return a pointer to a new memory block
Source position: pooledmm.pp line 87
public function TNonFreePooledMemManager.NewItem: Pointer; |
Pointer to a new memory block
NewItem returns a pointer to an unused memory block of size ItemSize. It will allocate new memory on the heap if necessary.
Note that there is no way to mark the memory block as free, except by clearing the whole list.
If no more memory is available, an exception may be raised.
|
Clears the memory |