Skip to content

Commit 0096213

Browse files
author
luke
committed
Drop REAL0 and friends from Rinternals.h.
git-svn-id: https://svn.r-project.org/R/trunk@88879 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 6e01b2d commit 0096213

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

doc/NEWS.Rd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,10 @@
178178
External \emph{on-screen} graphics devices should consider using
179179
this function to avoid crashes from the device being closed by the
180180
user (e.g., a mouse click) during drawing.
181+
182+
\item Declarations for non-API functions \code{LOGICAL0},
183+
\code{INTEGER0}, \code{REAL0}, \code{COMPLEX0}, and \code{RAW0}
184+
have been removed from installed header files.
181185
}
182186
}
183187

src/include/Rinternals.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1173,11 +1173,13 @@ SEXP R_altrep_data2(SEXP x);
11731173
void R_set_altrep_data1(SEXP x, SEXP v);
11741174
void R_set_altrep_data2(SEXP x, SEXP v);
11751175

1176+
# ifndef NO_RINLINEDFUNS
11761177
int *LOGICAL0(SEXP x);
11771178
int *INTEGER0(SEXP x);
11781179
double *REAL0(SEXP x);
11791180
Rcomplex *COMPLEX0(SEXP x);
11801181
Rbyte *RAW0(SEXP x);
1182+
# endif
11811183
#endif
11821184

11831185
int (ALTREP)(SEXP x);

0 commit comments

Comments
 (0)