tcc_output: Set output type for FFI compilation

View source: R/ffi.R

tcc_outputR Documentation

Set output type for FFI compilation

Description

The high-level FFI creates callable in-memory wrappers, so only "memory" output is supported. Executable and shared-library artifact output requires the low-level tcc_state() and tcc_output_file() path and is rejected here rather than returning dangling callable addresses.

Usage

tcc_output(ffi, output = "memory")

Arguments

ffi

A tcc_ffi object

output

Must be "memory".

Value

Updated tcc_ffi object (for chaining)


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