Skip to content

MEM_UM_new_arr

BigETI edited this page May 4, 2018 · 1 revision

Description

Allocate new unmanaged array. Delete with MEM_UM_delete

Returns

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

Syntax

UnmanagedPointer:MEM_UM_new_arr(const arr[], arr_size = sizeof arr)

Example

new arr[10] = { 100, ... }, UnmanagedPointer:pointer = MEM_UM_new_arr(arr);
if (pointer)
{
	// Successful
}
Clone this wiki locally