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

Function external_pointer_addr_character

r/src/bridge.cpp:30–34  ·  view source on GitHub ↗

[[arrow::export]]

Source from the content-addressed store, hash-verified

28
29// [[arrow::export]]
30std::string external_pointer_addr_character(SEXP external_pointer) {
31 void* ptr_void = R_ExternalPtrAddr(external_pointer);
32 uint64_t ptr_int64 = reinterpret_cast<uintptr_t>(ptr_void);
33 return std::to_string(ptr_int64);
34}
35
36// [[arrow::export]]
37cpp11::doubles external_pointer_addr_integer64(SEXP external_pointer) {

Calls 1

to_stringFunction · 0.85

Tested by

no test coverage detected