| 111 | } |
| 112 | |
| 113 | inline void ArrowDeviceArrayRelease(struct ArrowDeviceArray* array) { |
| 114 | if (!ArrowDeviceArrayIsReleased(array)) { |
| 115 | array->array.release(&array->array); |
| 116 | ARROW_C_ASSERT(ArrowDeviceArrayIsReleased(array), |
| 117 | "ArrowDeviceArrayRelease did not cleanup release callback"); |
| 118 | } |
| 119 | } |
| 120 | |
| 121 | /// Query whether the C array stream is released |
| 122 | inline int ArrowArrayStreamIsReleased(const struct ArrowArrayStream* stream) { |
nothing calls this directly
no test coverage detected