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

Function ArrowDeviceArrayRelease

cpp/src/arrow/c/helpers.h:113–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113inline 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
122inline int ArrowArrayStreamIsReleased(const struct ArrowArrayStream* stream) {

Callers

nothing calls this directly

Calls 2

releaseMethod · 0.45

Tested by

no test coverage detected