isDotC | R Documentation |
These functions are high-level functions that examine
the type of a parameter or all the parameters of a function
definition/declaration
and determines if they are consistent with R's .Call
or
.C
interfaces.
isDotC(fun)
isDotCall(fun)
isSEXP(param, quick = TRUE)
fun |
the function object which is a list of a return type, parameters and a definition cursor. |
param |
the parameter or type. |
quick |
a logical value indicating whether to check the name of the type as being equal to "SEXP" |
A logical value
Duncan Temple Lang
libclang http://clang.llvm.org/doxygen/group__CINDEX.html Writing R Extensions manual
createRegistrationCode
f = system.file("exampleCode", "register.c", package = "RCIndex")
args = "-DHAVE_CONFIG_H"
includes = c(sprintf("%s/../src/include", R.home()), sprintf("%s/include", R.home()))
r = getRoutines(f, includes = includes, args = args)
sapply(r, isDotCall)
sapply(r, isDotC)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.