View source: R/treesitter_helpers.R
| tcc_treesitter_defines | R Documentation |
Extract macro defines from a header file
tcc_treesitter_defines(
file,
use_cpp = TRUE,
cc = treesitter.c::r_cc(),
ccflags = NULL
)
file |
Path to a header file. |
use_cpp |
Logical; use the C preprocessor if available. |
cc |
Compiler string; passed to |
ccflags |
Additional flags for the compiler. |
Character vector of macro names defined in file.
## Not run:
tcc_treesitter_defines("/usr/include/math.h")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.