Displaying 1 result from an estimated 1 matches for "rawptr".
Did you mean:
ramptr
2005 May 12
0
Patch to address (PR#7853) -- tested briefly, seems to
...2.0.0/src/main/dotcode.c 2005-05-11
> 12:24:11.000000000 -0700
> @@ -190,6 +190,7 @@
> static void *RObjToCPtr(SEXP s, int naok, int dup, int narg, int Fort,
> const char *name, R_toCConverter **converter,
> int targetType)
> {
> + unsigned char *rawptr;
> int *iptr;
> float *sptr;
> double *rptr;
> @@ -228,6 +229,16 @@
> }
>
> switch(TYPEOF(s)) {
> + case RAWSXP:
> + n = LENGTH(s);
> + rawptr = RAW(s);
> + if (dup) {
> + rawptr = (unsigned char *) R_alloc(n, sizeof(unsigne...