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

Function ArrowArrayStreamRelease

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

Release the C array stream, if necessary, by calling its release callback

Source from the content-addressed store, hash-verified

158
159/// Release the C array stream, if necessary, by calling its release callback
160inline void ArrowArrayStreamRelease(struct ArrowArrayStream* stream) {
161 if (!ArrowArrayStreamIsReleased(stream)) {
162 stream->release(stream);
163 ARROW_C_ASSERT(ArrowArrayStreamIsReleased(stream),
164 "ArrowArrayStreamRelease did not cleanup release callback");
165 }
166}
167
168inline void ArrowDeviceArrayStreamRelease(struct ArrowDeviceArrayStream* stream) {
169 if (!ArrowDeviceArrayStreamIsReleased(stream)) {

Callers

nothing calls this directly

Calls 2

releaseMethod · 0.45

Tested by

no test coverage detected