Skip to content
Prev 4543 / 10988 Next

[Rcpp-devel] Rcpp 0.10.0

No, the generated header file for a package exports functions within the
package namespace but that doesn't preclude other headers from exporting
other types in the same namespace.

3. Just to be clear? this removes the need to make an inline plug-in
A clarification here: if your package exposes a header-only interface then
Rcpp::depends will take care of adding your package's include directory to
the sourceCpp compilation (but users of course still need to do e.g.
#include <ernm.h>). For this scenario no inline plugin is needed.

However, for cppFunction it's not enough to just add the include path, we
also need the header(s). For that case you should create a simple inline
plugiln (which you can likely create with a one-liner by calling
Rcpp.plugin.maker).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20121114/861b8545/attachment.html>