diff --git a/ChangeLog b/ChangeLog index ea0920c4c..4a8adf642 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2020-08-20 Mattias Ellert + + * inst/include/Rcpp/lang.h: Remove obsolete and confusing comment + 2020-08-05 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll minor version diff --git a/inst/include/Rcpp/lang.h b/inst/include/Rcpp/lang.h index 7b3ff72ae..fba4608c4 100644 --- a/inst/include/Rcpp/lang.h +++ b/inst/include/Rcpp/lang.h @@ -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);