tcc_relocate: Relocate compiled code

View source: R/tinycc.R

tcc_relocateR Documentation

Relocate compiled code

Description

Relocation is valid only for a state created with output = "memory" and can be performed only once. Callable symbols are unavailable until relocation succeeds. Use tcc_output_file() for object, shared-library, executable, or preprocessor output.

Usage

tcc_relocate(state)

Arguments

state

A tcc_state.

Value

Integer status code (0 = success).


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