tcc_ptr_is_owned: Check for the '"rtinycc_owned"' tag

View source: R/tcc_ptr_utils.R

tcc_ptr_is_ownedR Documentation

Check for the "rtinycc_owned" tag

Description

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


Rtinycc documentation built on April 28, 2026, 1:07 a.m.