SysAllocPagedMalloc

SysAllocPagedMalloc
Scaleform::SysAllocPagedMalloc
Declaration
class SysAllocPagedMalloc : public SysAllocBase_SingletonSupport<SysAllocPagedMalloc, SysAllocPaged>;
Description

SysAllocPagedMalloc is an malloc version of SysAllocPaged interface which uses standard library functions such as memalign() and free(). Using this custom block allocator, users can specify the preferred granularity of allocations, controlling how many memory allocation requests they will receive.

Methods
Method 
Description 
Allocates a large block of memory of specified size to the heap. 
Free 
Frees the block of memory allocated by Alloc
Returns the number of bytes allocated from the system for the custom allocator. 
Returns the allocator alignment support and granularity capabilities of the system allocator implementation by filling in the SysAllocPaged::Info structure members. 
Returns the actual amount of allocated/used bytes in the heap. 
SysAllocPagedMalloc constructor. 
File

HeapPT_SysAllocMalloc.h