There was an error while loading. Please reload this page.
1 parent 2d4cacd commit c5c6bfbCopy full SHA for c5c6bfb
1 file changed
src/AttributesGen.cpp
@@ -698,7 +698,9 @@ namespace attributes {
698
const SourceFileAttributes& attributes,
699
bool includePrototype,
700
const std::string& contextId) {
701
-
+
702
+ // always include Rcpp.h in case the user didn't
703
+ ostr << "#include <Rcpp.h>" << std::endl;
704
// process each attribute
705
for(std::vector<Attribute>::const_iterator
706
it = attributes.begin(); it != attributes.end(); ++it) {
0 commit comments