tcc_read_ptr: Read a pointer at byte offset

View source: R/tcc_ptr_utils.R

tcc_read_ptrR Documentation

Read a pointer at byte offset

Description

Dereferences a ⁠void*⁠ at the given byte offset from ptr. Equivalent to ⁠*(void**)(ptr + offset)⁠. The returned pointer is tagged "rtinycc_borrowed" and will not be freed by the garbage collector.

Usage

tcc_read_ptr(ptr, offset = 0L)

Arguments

ptr

External pointer

offset

Byte offset from ptr (scalar interface). Ignored when n is supplied.

Value

External pointer


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