Alloc allocates a large block of memory of specified size to the heap. The passed align value will never be greater than MaxAlign returned from GetInfo.
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. |
Newly allocated block.