Skip to content

Commit 24cbd00

Browse files
committed
Provide a few more *_RO accessors for R<3.5
1 parent 6d66b81 commit 24cbd00

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/data.table.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
# define USE_RINTERNALS // #3301
88
# define DATAPTR_RO(x) ((const void *)DATAPTR(x))
99
# define STRING_PTR_RO STRING_PTR
10+
# define INTEGER_RO INTEGER
11+
# define REAL_RO REAL
12+
# define COMPLEX_RO COMPLEX
1013
# define R_Calloc(x, y) Calloc(x, y) // #6380
1114
# define R_Realloc(x, y, z) Realloc(x, y, z)
1215
# define R_Free(x) Free(x)

0 commit comments

Comments
 (0)