| 672 | // bridge.cpp |
| 673 | void ExportRecordBatch(const std::shared_ptr<arrow::RecordBatch>& batch, arrow::r::Pointer<struct ArrowArray> array_ptr, arrow::r::Pointer<struct ArrowSchema> schema_ptr); |
| 674 | extern "C" SEXP _arrow_ExportRecordBatch(SEXP batch_sexp, SEXP array_ptr_sexp, SEXP schema_ptr_sexp){ |
| 675 | BEGIN_CPP11 |
| 676 | arrow::r::Input<const std::shared_ptr<arrow::RecordBatch>&>::type batch(batch_sexp); |
| 677 | arrow::r::Input<arrow::r::Pointer<struct ArrowArray>>::type array_ptr(array_ptr_sexp); |
| 678 | arrow::r::Input<arrow::r::Pointer<struct ArrowSchema>>::type schema_ptr(schema_ptr_sexp); |
| 679 | ExportRecordBatch(batch, array_ptr, schema_ptr); |
| 680 | return R_NilValue; |
| 681 | END_CPP11 |
| 682 | } |
| 683 | // bridge.cpp |
| 684 | void ExportRecordBatchReader(const std::shared_ptr<arrow::RecordBatchReader>& reader, arrow::r::Pointer<struct ArrowArrayStream> stream_ptr); |
| 685 | extern "C" SEXP _arrow_ExportRecordBatchReader(SEXP reader_sexp, SEXP stream_ptr_sexp){ |
nothing calls this directly
no test coverage detected