TNonFreePooledMemManager.NewItem function
Return a pointer to a new memory block.
Declaration
function NewItem: PointerFunction result
Pointer to a new memory block.
Description
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.
Errors
If no more memory is available, an exception may be raised.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
