Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2024-10-31 Kevin Ushey <kevinushey@gmail.com>

* inst/include/Rcpp/r/compat.h: Require R (>= 4.5.0) for new APIs

2024-10-26 Dirk Eddelbuettel <edd@debian.org>

* DESCRIPTION (Version, Date): Roll micro version to 1.0.13.4
Expand Down
4 changes: 2 additions & 2 deletions inst/include/Rcpp/r/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@

#include <Rversion.h>

#if R_VERSION >= R_Version(4, 4, 2)
#if R_VERSION >= R_Version(4, 5, 0)
# define RCPP_STRING_PTR STRING_PTR_RO
#else
# define RCPP_STRING_PTR STRING_PTR
#endif

#if R_VERSION >= R_Version(4, 4, 2)
#if R_VERSION >= R_Version(4, 5, 0)
# define RCPP_VECTOR_PTR VECTOR_PTR_RO
#else
# define RCPP_VECTOR_PTR VECTOR_PTR
Expand Down