Skip to content

Commit 41ee833

Browse files
authored
Merge pull request #779 from coatless/bugfix/attributes-interface-generation
Fixed missing Rcpp namespace in export interface generation
2 parents be80e90 + 6de2e10 commit 41ee833

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2017-11-30 James J Balamuta <[email protected]>
2+
3+
* src/attributes.cpp: Fixed missing Rcpp namespace in export interface
4+
generation
5+
16
2017-11-25 Dirk Eddelbuettel <[email protected]>
27

38
* DESCRIPTION (Version, Date): Roll minor version

inst/NEWS.Rd

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@
99
\itemize{
1010
\item Calls from exception handling to `Rf_warning()` now correctly set an
1111
initial format string (Dirk in \ghpr{777} fixing \ghit{776}).
12+
}
13+
\item Changes in Rcpp Attributes:
14+
\itemize{
15+
\item Addressed a missing Rcpp namespace prefix when generating a C++
16+
interface (James Balamuta in \ghpr{779}).
17+
}
1218
\item Changes in Rcpp Documentation:
1319
\itemize{
1420
\item The Rcpp FAQ now shows \code{Rcpp::Rcpp.plugin.maker()}m not the

src/attributes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2192,7 +2192,7 @@ namespace attributes {
21922192
<< std::endl;
21932193
ostr() << " if (rcpp_result_gen.inherits(\"try-error\"))"
21942194
<< std::endl
2195-
<< " throw Rcpp::exception(as<std::string>("
2195+
<< " throw Rcpp::exception(Rcpp::as<std::string>("
21962196
<< "rcpp_result_gen).c_str());"
21972197
<< std::endl;
21982198
if (!function.type().isVoid()) {

0 commit comments

Comments
 (0)