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

Method Make

cpp/src/arrow/c/bridge.cc:2177–2184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2175 }
2176
2177 static Status Make(std::shared_ptr<T> reader, StreamType* out) {
2178 out->get_schema = ExportedArrayStream::StaticGetSchema;
2179 out->get_next = ExportedArrayStream::StaticGetNext;
2180 out->get_last_error = ExportedArrayStream::StaticGetLastError;
2181 out->release = ExportedArrayStream::StaticRelease;
2182 out->private_data = new ExportedArrayStream::PrivateData{std::move(reader)};
2183 return Status::OK();
2184 }
2185
2186 private:
2187 int ToCError(const Status& status) {

Callers

nothing calls this directly

Calls 1

OKFunction · 0.50

Tested by

no test coverage detected