-
Notifications
You must be signed in to change notification settings - Fork 9
MEM_UM_new_arr
BigETI edited this page May 4, 2018
·
1 revision
Allocate new unmanaged array. Delete with MEM_UM_delete
Pointer of the allocated and unmanaged memory if successful, otherwise MEM_NULLUMPTR.
UnmanagedPointer:MEM_UM_new_arr(const arr[], arr_size = sizeof arr)
new arr[10] = { 100, ... }, UnmanagedPointer:pointer = MEM_UM_new_arr(arr);
if (pointer)
{
// Successful
}