MemoryHeap::AllocAutoHeap

MemoryHeap::AllocAutoHeap
virtual void* AllocAutoHeap(const void * thisPtr, UPInt size, const AllocInfo* info = 0) = 0;
virtual void* AllocAutoHeap(const void * thisPtr, UPInt size, UPInt align, const AllocInfo* info = 0) = 0;
Description

AllocAutoHeap allocates memory block while automatically identifying heap and allocation id based on the specified address.

Parameters
Parameters 
Description 
const void * thisPtr 
Pointer to the heap. 
UPInt size 
The size of the memory allocation. 
const AllocInfo* info = 0 
Debug support stored with every allocation. 
UPInt align 
A value of zero or power of two for aligning memory. 
Return Value

Newly allocated heap.