SysAllocMMAP::Alloc

SysAllocMMAP::Alloc
virtual void* Alloc(UPInt size, UPInt align);
Description

Alloc allocates a block of memory of specified size to the heap. The passed align value can never be greater than MaxAlign returned from GetInfo.

Parameters
Parameters 
Description 
UPInt size 
Required size of the memory block. 
UPInt align 
Memory address alignment value of zero or power of two if alignment is supported. If unsupported, this argument can be ignored. 
Return Value

Newly allocated block or null if allocation failed.