Apply tcc_struct() bindings from a header
Source:R/treesitter_helpers.R
tcc_treesitter_struct_bindings.RdApply tcc_struct() bindings from a header
Arguments
- ffi
A tcc_ffi object.
- header
Character scalar containing C declarations.
- ...
Passed to
tcc_treesitter_struct_accessors().
Examples
if (FALSE) { # \dontrun{
header <- "struct point { double x; double y; };"
ffi <- tcc_ffi()
ffi <- tcc_treesitter_struct_bindings(ffi, header)
} # }