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.
2 parents 0837b35 + 6674443 commit c6f0e60Copy full SHA for c6f0e60
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,9 @@
98
catch (...) { \
99
return string_to_try_error("c++ exception (unknown reason)"); \
100
} \
101
- return R_NilValue;
+ UNPROTECT(nprot); \
102
+ return R_NilValue; \
103
+ (void) stop_sym; /* never reached but suppresses warning */
104
#endif
105
106
#define Rcpp_error(MESSAGE) throw Rcpp::exception(MESSAGE, __FILE__, __LINE__)
0 commit comments