static void* SF_STDCALL AllocInHeap(MemoryHeap* heap, UPInt size); static void* SF_STDCALL AllocInHeap(MemoryHeap* heap, UPInt size, UPInt align); static void* SF_STDCALL AllocInHeap(MemoryHeap* heap, UPInt size, const AllocInfo& info); static void* SF_STDCALL AllocInHeap(MemoryHeap* heap, UPInt size, UPInt align, const AllocInfo& info);
Parameters |
Description |
MemoryHeap* heap |
Pointer to MemoryHeap which is used for allocation. |
UPInt size |
The size of the memory block. |
UPInt align |
A value of zero or power of two for aligning memory. |
const AllocInfo& info |
Debug support stored with every allocation. |
Dynamic memory heap.