Skip to content
Prev 6949 / 10988 Next

[Rcpp-devel] exporting void test(void) function

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>