Generate R-callable helpers for struct allocation, field access, and pointer management. The struct must be defined in a header.
Examples
if (FALSE) { # \dontrun{
ffi <- tcc_ffi() |>
tcc_header("#include <point.h>") |>
tcc_struct("point", list(x = "f64", y = "f64", id = "i32"))
} # }