Skip to contents

Apply tcc_union() bindings from a header

Usage

tcc_treesitter_union_bindings(ffi, header, ...)

Arguments

ffi

A tcc_ffi object.

header

Character scalar containing C declarations.

...

Passed to tcc_treesitter_union_accessors().

Value

Updated tcc_ffi object.

Examples

if (FALSE) { # \dontrun{
header <- "union data { int i; double d; };"
ffi <- tcc_ffi()
ffi <- tcc_treesitter_union_bindings(ffi, header)
} # }