View source: R/treesitter_helpers.R
| tcc_treesitter_struct_bindings | R Documentation |
Apply tcc_struct() bindings from a header
tcc_treesitter_struct_bindings(ffi, header, ...)
ffi |
A tcc_ffi object. |
header |
Character scalar containing C declarations. |
... |
Passed to |
Updated tcc_ffi object.
## Not run:
header <- "struct point { double x; double y; };"
ffi <- tcc_ffi()
ffi <- tcc_treesitter_struct_bindings(ffi, header)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.