Skip to content

MEM_is_valid_ptr

BigETI edited this page May 4, 2018 · 1 revision

Description

Is valid pointer

Returns

true if valid, otherwise false.

Syntax

bool:MEM_is_valid_ptr(Pointer:pointer)

Example

new Pointer:pointer = MEM_new_val(1);
printf("\"pointer\" is %s", (MEM_is_valid_ptr(pointer) ? ("valid") : ("not valid")));
Clone this wiki locally