| 53 | } |
| 54 | |
| 55 | NumPyBuffer::~NumPyBuffer() { |
| 56 | // GH-38626: destructor may be called after the Python interpreter is finalized. |
| 57 | if (Py_IsInitialized()) { |
| 58 | PyAcquireGIL lock; |
| 59 | Py_XDECREF(arr_); |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | #define TO_ARROW_TYPE_CASE(NPY_NAME, FACTORY) \ |
| 64 | case NPY_##NPY_NAME: \ |
nothing calls this directly
no outgoing calls
no test coverage detected