We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0837b35 commit 47f6e91Copy full SHA for 47f6e91
ChangeLog
@@ -1,3 +1,8 @@
1
+2019-03-18 Dirk Eddelbuettel <edd@debian.org>
2
+
3
+ * inst/include/Rcpp/macros/macros.h (END_RCPP_RETURN_ERROR): Add
4
+ UNPROTECT to reference nprot, also check for stop_sym
5
6
2019-03-17 Dirk Eddelbuettel <edd@debian.org>
7
8
* DESCRIPTION: Release 1.0.1
inst/include/Rcpp/macros/macros.h
@@ -98,7 +98,10 @@
98
catch (...) { \
99
return string_to_try_error("c++ exception (unknown reason)"); \
100
} \
101
- return R_NilValue;
+ UNPROTECT(nprot); \
102
+ return R_NilValue; \
103
+ if (stop_sym == R_NilValue) /* never reached but */ \
104
+ return R_NilValue; /* suppresses warning*/
105
#endif
106
107
#define Rcpp_error(MESSAGE) throw Rcpp::exception(MESSAGE, __FILE__, __LINE__)
0 commit comments