Skip to contents

All functions

fake_libc_path()
Get the path to the installed fake_libc headers
get_defines_from_file()
This function will use the configured C compiler to list macro definitions (-dM -E) if use_cpp = TRUE and a compiler is available; otherwise, a simple scan of #define lines is used as a fallback.
get_enum_nodes()
Extract enum names from a parsed header
get_function_nodes()
Extract function names (declarations and definitions) from a root
get_globals_from_root()
Extract global variable names from a parsed tree root
get_struct_members()
Extract members of structs (including nested anonymous struct members)
get_struct_nodes()
Extract struct names from a parsed tree root
get_union_nodes()
Extract union names from a parsed header
language()
tree-sitter language for C
parse_header_text()
Convert character content of a header file into a tree-sitter root
parse_headers_collect()
Parse a directory of headers and return named list of data.frames with
parse_r_include_headers()
Parse C header files for function declarations using tree-sitter
preprocess_header()
Run the C preprocessor on file using the provided compiler
preprocess_headers()
Preprocess a set of header files found under dir
r_cc()
Return the default R-configured C compiler (possibly with flags)