| 2159 | // C-compatible callbacks |
| 2160 | |
| 2161 | static int StaticGetSchema(StreamType* stream, struct ArrowSchema* out_schema) { |
| 2162 | ExportedArrayStream self{stream}; |
| 2163 | return self.ToCError(self.GetSchema(out_schema)); |
| 2164 | } |
| 2165 | |
| 2166 | static int StaticGetNext(StreamType* stream, ArrayType* out_array) { |
| 2167 | ExportedArrayStream self{stream}; |