Skip to content

MEM_UM_set_arr

BigETI edited this page May 4, 2018 · 1 revision

Description

Set unmanaged array

Returns

Pointer of the arr variable if successful, otherwise MEM_NULLFEPTR.

Syntax

ForeignPointer:MEM_UM_set_arr(UnmanagedPointer:pointer, index = 0, const arr[], arr_size = sizeof arr)

Example

new arr[10] = { 100, ... }, UnmanagedPointer:pointer = MEM_UM_new(sizeof arr);
if (pointer)
{
	MEM_UM_set_arr(pointer, _, arr);
}
Clone this wiki locally