tcc_free: Free owned memory

View source: R/tcc_ptr_utils.R

tcc_freeR Documentation

Free owned memory

Description

Free memory whose external pointer is tagged "rtinycc_owned" (e.g. from tcc_malloc() or tcc_cstring()). Errors on struct pointers (use the generated ⁠struct_<name>_free()⁠) or borrowed pointers from tcc_data_ptr().

Usage

tcc_free(ptr)

Arguments

ptr

External pointer to free

Value

NULL.


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