Memory.malloc

Allocates @n_bytes bytes of memory. If @n_bytes is 0 it returns %NULL.

struct Memory
static
void*
malloc
(
size_t nBytes
)

Parameters

nBytes size_t

the number of bytes to allocate

Return Value

Type: void*

a pointer to the allocated memory

Meta