Extract macro defines from a header file
Usage
tcc_treesitter_defines(
file,
use_cpp = TRUE,
cc = treesitter.c::r_cc(),
ccflags = NULL
)Arguments
- file
Path to a header file.
- use_cpp
Logical; use the C preprocessor if available.
- cc
Compiler string; passed to
system2()ifuse_cpp = TRUE.- ccflags
Additional flags for the compiler.