Skip to content

Commit

Permalink
Re-added macro.
Browse files Browse the repository at this point in the history
  • Loading branch information
NicChr committed Apr 17, 2024
1 parent 79ec136 commit 6183f3a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cheapr_cpp.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
#include <cpp11.hpp>
#include <Rinternals.h>

#ifndef R_NO_REMAP
#define R_NO_REMAP
#endif

#define VECTOR_PTR(x) ((SEXP *) DATAPTR(x))
#define VECTOR_PTR_RO(x) ((const SEXP*) DATAPTR_RO(x))

Expand Down

0 comments on commit 6183f3a

Please sign in to comment.