Skip to contents

Returns TRUE only for pointers created by tcc_malloc() or tcc_cstring(). Struct pointers (tagged "struct_<name>") and borrowed pointers return FALSE.

Usage

tcc_ptr_is_owned(ptr)

Arguments

ptr

External pointer

Value

Logical scalar