rv_export_c.Rd
Generates rv_export files from a v
source file, that is located in the
src
directory of a pkg.
rv_export_c(pkg = ".", prefix = NULL)
character
location of package.
character
optional prefix that is used in the wrapper generation.
If NULL
the package name is used.
(invisibly) the list of parsed v functions.
The following files are generated:
"./R/rv_export.R": R functions that wrap the v functions
"./src/rv_export.v": v wrappers, that interface v with R.
"./src/init.c" : registration code, needed for the shared library.
"./src/Makevars" : settings that suppress compiler warnings.
"./src/<pkg_name>.c" : generated c code from the v
source code.