Skip to content

MEM_UM_new

BigETI edited this page May 4, 2018 · 1 revision

Description

Allocate new unmanaged memory. Delete with MEM_UM_delete

Returns

Pointer of the allocated and unmanaged memory if successful, otherwise MEM_NULLUMPTR.

Syntax

UnmanagedPointer:MEM_UM_new(cells = 1)

Example

new UnmanagedPointer:pointer = MEM_UM_new();
if (pointer)
{
	// Successful
}
Clone this wiki locally