Skip to content

Commit

Permalink
Merge pull request #1109 from ellert/remove-confusing-comment
Browse files Browse the repository at this point in the history
Remove obsolete and confusing comment
  • Loading branch information
eddelbuettel committed Aug 20, 2020
2 parents ca5123a + 0ce01c8 commit c5a97a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2020-08-20 Mattias Ellert <mattias.ellert@physics.uu.se>

* inst/include/Rcpp/lang.h: Remove obsolete and confusing comment

2020-08-05 Dirk Eddelbuettel <edd@debian.org>

* DESCRIPTION (Version, Date): Roll minor version
Expand Down
6 changes: 1 addition & 5 deletions inst/include/Rcpp/lang.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,7 @@ inline SEXP Rcpp_list5(SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4) {
return x0;
}



// `Rf_lang6()` is available on R 3.3, but `Rf_list6()` is not
inline SEXP Rcpp_list6( SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5 )
{
inline SEXP Rcpp_list6(SEXP x0, SEXP x1, SEXP x2, SEXP x3, SEXP x4, SEXP x5) {
PROTECT(x0);
x0 = Rf_cons(x0, Rcpp_list5(x1, x2, x3, x4, x5));
UNPROTECT(1);
Expand Down

0 comments on commit c5a97a3

Please sign in to comment.