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

Function ArrowSchemaRelease

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

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

Source from the content-addressed store, hash-verified

59
60/// Release the C schema, if necessary, by calling its release callback
61inline void ArrowSchemaRelease(struct ArrowSchema* schema) {
62 if (!ArrowSchemaIsReleased(schema)) {
63 schema->release(schema);
64 ARROW_C_ASSERT(ArrowSchemaIsReleased(schema),
65 "ArrowSchemaRelease did not cleanup release callback");
66 }
67}
68
69/// Query whether the C array is released
70inline int ArrowArrayIsReleased(const struct ArrowArray* array) {

Callers 3

ExportTypeFunction · 0.85
ExportSchemaFunction · 0.85
ReleaseExportedSchemaFunction · 0.85

Calls 2

ArrowSchemaIsReleasedFunction · 0.85
releaseMethod · 0.45

Tested by

no test coverage detected