tcc_get_symbol: Get a symbol pointer from a libtcc state

View source: R/tinycc.R

tcc_get_symbolR Documentation

Get a symbol pointer from a libtcc state

Description

The memory state must first be successfully finalized with tcc_relocate().

Usage

tcc_get_symbol(state, name)

Arguments

state

A tcc_state.

name

Symbol name to look up.

Value

External pointer of class tcc_symbol. The pointer retains state so its relocated code remains alive for as long as the symbol is reachable.


Rtinycc documentation built on July 26, 2026, 1:06 a.m.