% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/treesitter_helpers.R
\name{tcc_treesitter_helpers}
\alias{tcc_treesitter_helpers}
\title{Treesitter helpers for header-driven bindings}
\arguments{
\item{header}{Character scalar containing C declarations.}

\item{...}{Additional arguments passed to treesitter.c helpers.}
}
\value{
A data frame of nodes or a named list of binding specs.
}
\description{
Convenience wrappers around \code{treesitter.c} that map C types to the
Rtinycc FFI type system and return \code{tcc_bind()}-ready specs.
}
\section{treesitter.c}{

These helpers require the optional treesitter.c package.
}

\examples{
\dontrun{
header <- "double sqrt(double x);\nint add(int a, int b);"
tcc_treesitter_functions(header)
tcc_treesitter_bindings(header)
}

}
\keyword{internal}
