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

Function ArrayCapsule_Destructor

python/pyarrow/src/arrow/python/arrow_to_pandas.cc:105–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103};
104
105void ArrayCapsule_Destructor(PyObject* capsule) {
106 delete reinterpret_cast<ArrayCapsule*>(PyCapsule_GetPointer(capsule, "arrow::Array"));
107}
108
109void BufferCapsule_Destructor(PyObject* capsule) {
110 delete reinterpret_cast<BufferCapsule*>(PyCapsule_GetPointer(capsule, "arrow::Buffer"));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected