Alloc allocates a virtual block of memory of specified size to the heap.
Parameters |
Description |
UPInt size |
Required size of the memory block. |
UPInt align |
Memory address alignment value that the allocator must provide. This value is always a power of two. |
Pointer to the newly allocated block of memory or null if no space is available.