Rcpp11 / attributes

Standalone implementation of Rcpp attributes.
Other
3 stars 1 forks source link

include handler #8

Open romainfrancois opened 10 years ago

romainfrancois commented 10 years ago

This comes up with the Rcpp impl of attributes. files that work with sourceCpp don't work when making a package because of things not included or defined.

Perhaps we could declare things to include in the generated file

// [[ start_include ]]
using namespace arma ;
// [[ end_include ]]

not really happy about the interface, but that's the idea.

or perhaps something to declare that an include file has to also be included in the generated file:

// [[propagate]]
#include <foo/bar/yada.h>