tcc_ptr_addr: Get pointer address as integer

View source: R/tcc_ptr_utils.R

tcc_ptr_addrR Documentation

Get pointer address as integer

Description

Get the numeric address of an external pointer, useful for debugging and when APIs require pointer addresses as integers. Optional hex mode available.

Usage

tcc_ptr_addr(ptr, hex = FALSE)

Arguments

ptr

External pointer

hex

Whether to display in hexadecimal (default: FALSE)

Value

Character representation of pointer address (hex if requested, decimal otherwise)


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