MCPcopy Create free account
hub / github.com/apache/arrow / Dataptr_or_null

Method Dataptr_or_null

r/src/altrep.cpp:542–548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

540 }
541
542 static const void* Dataptr_or_null(SEXP alt) {
543 if (IsMaterialized(alt)) {
544 return DATAPTR_RO(Representation(alt));
545 }
546
547 return nullptr;
548 }
549
550 static void* Dataptr(SEXP alt, Rboolean writeable) { return INTEGER(Materialize(alt)); }
551

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected