Skip to content

Commit

Permalink
Add an alias of STRING_PTR_RO-->STRING_PTR in R<3.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico committed Aug 22, 2024
1 parent 2ddcc1a commit 1390dc2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cli.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
#include <Rinternals.h>
#include <Rversion.h>

#if R_VERSION < R_Version(3, 5, 0)
# define STRING_PTR_RO(x) STRING_PTR(x)
#endif

SEXP clic_diff_chr(SEXP a, SEXP b, SEXP max);

SEXP clic_getppid(void);
Expand Down

0 comments on commit 1390dc2

Please sign in to comment.