Skip to content

MEM_clone

BigETI edited this page May 4, 2018 · 1 revision

Description

Clone memory. Delete with MEM_delete

Returns

Pointer of the allocated memory if successful, otherwise MEM_NULLPTR.

Syntax

Pointer:MEM_clone(Pointer:pointer)

Example

new Pointer:pointer = MEM_new_value(1), Pointer:clone = MEM_clone(pointer);
Clone this wiki locally