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

Function ArrowDeviceArrayStreamMove

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

Source from the content-addressed store, hash-verified

149}
150
151inline void ArrowDeviceArrayStreamMove(struct ArrowDeviceArrayStream* src,
152 struct ArrowDeviceArrayStream* dest) {
153 assert(dest != src);
154 assert(!ArrowDeviceArrayStreamIsReleased(src));
155 memcpy(dest, src, sizeof(struct ArrowDeviceArrayStream));
156 ArrowDeviceArrayStreamMarkReleased(src);
157}
158
159/// Release the C array stream, if necessary, by calling its release callback
160inline void ArrowArrayStreamRelease(struct ArrowArrayStream* stream) {

Callers

nothing calls this directly

Tested by

no test coverage detected