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

Method Dataptr_or_null

r/src/altrep.cpp:929–936  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

927 }
928
929 static const void* Dataptr_or_null(SEXP alt) {
930 if (Base::IsMaterialized(alt)) {
931 return DATAPTR_RO(alt);
932 }
933
934 // otherwise give up
935 return nullptr;
936 }
937
938 static void Set_elt(SEXP alt, R_xlen_t i, SEXP v) {
939 Rf_error("ALTSTRING objects of type <arrow::array_string_vector> are immutable");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected