[Rcpp-devel] exporting void test(void) function
Romain Francois
romain at r-enthusiasts.com
Tue Dec 31 09:00:11 CET 2013
Hello,
This is fixed in Rcpp implementations I maintain: Rcpp11 and Rcpp98 and tested for in Rcpp-test.
https://github.com/romainfrancois/Rcpp11/blob/master/src/attributes.cpp#L1195
https://github.com/romainfrancois/Rcpp98/blob/master/src/attributes.cpp#L1228
Trivial to port the fix to Rcpp.
Romain
Le 31 déc. 2013 à 05:15, Tim Keitt <tkeitt at gmail.com> a écrit :
> Apologies if this is the wrong list for user questions -- happy to be redirected -- I did not see it immediately.
>
> Am I correct in noting that
>
> // [[Rcpp::export]]
> void test(void)
> {
> // do something
> }
>
> does not generate any code in RcppExports.R?
>
> Thanks.
>
> --
> Timothy H. Keitt
> http://www.keittlab.org/
> _______________________________________________
> Rcpp-devel mailing list
> Rcpp-devel at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20131231/34c4740b/attachment.html>
More information about the Rcpp-devel
mailing list