Skip to content

MEM_new_arr

BigETI edited this page May 4, 2018 · 1 revision

Description

Allocate new array. Delete with MEM_delete

Returns

Pointer of the allocated memory if successful, otherwise MEM_NULLPTR.

Syntax

Pointer:MEM_new_arr(const arr[], arr_size = sizeof arr)

Example

new arr[10] = { 100, ... }, Pointer:pointer = MEM_new_arr(arr);
Clone this wiki locally