Skip to content

MEM_UM_new_val

BigETI edited this page May 4, 2018 · 1 revision

Description

Allocate new unmanaged value. Delete with MEM_UM_delete

Returns

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

Syntax

UnmanagedPointer:MEM_UM_new_val(value)

Example

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