[Rcpp-devel] exporting void test(void) function
Am I correct in noting that
// [[Rcpp::export]]
void test(void)
{
// do something
}
does not generate any code in RcppExports.R?
The problem occurs because the attributes parser doesn't know what to do
with the void argument specification. If you declare the function with no
argument specification at all then the function will be handled correctly
in RcppExports.R, e.g.
// [[Rcpp::export]]
void foo() {
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20131231/40ff65b0/attachment.html>