Skip to content

Commit e366353

Browse files
committed
Put internal functions in the Rcpp namespace
1 parent 8e41c81 commit e366353

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

inst/include/Rcpp/exceptions.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,6 @@ namespace Rcpp{
124124
#undef RCPP_SIMPLE_EXCEPTION_CLASS
125125

126126

127-
} // namespace Rcpp
128-
129127
namespace internal {
130128

131129
inline SEXP nth(SEXP s, int n) {
@@ -153,6 +151,8 @@ namespace internal {
153151
}
154152
}
155153

154+
} // namespace Rcpp
155+
156156
inline SEXP get_last_call(){
157157
SEXP sys_calls_symbol = Rf_install("sys.calls");
158158

@@ -164,7 +164,7 @@ inline SEXP get_last_call(){
164164
while(CDR(cur) != R_NilValue) {
165165
SEXP expr = CAR(cur);
166166

167-
if (internal::is_Rcpp_eval_call(expr)) {
167+
if (Rcpp::internal::is_Rcpp_eval_call(expr)) {
168168
break;
169169
}
170170
prev = cur;

0 commit comments

Comments
 (0)