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

Function ArrowArrayRelease

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

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

Source from the content-addressed store, hash-verified

103
104/// Release the C array, if necessary, by calling its release callback
105inline void ArrowArrayRelease(struct ArrowArray* array) {
106 if (!ArrowArrayIsReleased(array)) {
107 array->release(array);
108 ARROW_C_ASSERT(ArrowArrayIsReleased(array),
109 "ArrowArrayRelease did not cleanup release callback");
110 }
111}
112
113inline void ArrowDeviceArrayRelease(struct ArrowDeviceArray* array) {
114 if (!ArrowDeviceArrayIsReleased(array)) {

Callers 8

ExportArrayFunction · 0.85
ExportRecordBatchFunction · 0.85
ReleaseExportedArrayFunction · 0.85
ReleaseMethod · 0.85
ImportArrayFunction · 0.85
ImportRecordBatchFunction · 0.85
ImportDeviceArrayFunction · 0.85
ImportDeviceRecordBatchFunction · 0.85

Calls 2

ArrowArrayIsReleasedFunction · 0.85
releaseMethod · 0.45

Tested by

no test coverage detected