[Rcpp-devel] Local .h files and Rcpp attributes
JJ Allaire
jj.allaire at gmail.com
Sat Oct 19 21:14:13 CEST 2013
> RcppExports.cpp will automatically include a .h that has the same name as
> the package and is located in inst/include, iirc.
This is indeed the current solution to the problem of typedefs, however I
admin that it's a bit difficult to take advantage of without wading through
documentation and/or the mailing list. One alternative we've considered in
transposing typedefs (and perhaps using namespace statements) into
RcppExports.cpp however this could be considered overly aggressive (e.g.
it's theoretically possible this could introduce side effects).
J.J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20131019/9c25dd6e/attachment.html>
More information about the Rcpp-devel
mailing list