Skip to content

MEM_new_val

BigETI edited this page May 4, 2018 · 1 revision

Description

Allocate new value. Delete with MEM_delete

Returns

Pointer of the allocated memory if successful, otherwise MEM_NULLPTR.

Syntax

Pointer:MEM_new_val(value)

Example

new Pointer:pointer = Pointer:MEM_new_val(1);
Clone this wiki locally