| 661 | // bridge.cpp |
| 662 | void ExportArray(const std::shared_ptr<arrow::Array>& array, arrow::r::Pointer<struct ArrowArray> array_ptr, arrow::r::Pointer<struct ArrowSchema> schema_ptr); |
| 663 | extern "C" SEXP _arrow_ExportArray(SEXP array_sexp, SEXP array_ptr_sexp, SEXP schema_ptr_sexp){ |
| 664 | BEGIN_CPP11 |
| 665 | arrow::r::Input<const std::shared_ptr<arrow::Array>&>::type array(array_sexp); |
| 666 | arrow::r::Input<arrow::r::Pointer<struct ArrowArray>>::type array_ptr(array_ptr_sexp); |
| 667 | arrow::r::Input<arrow::r::Pointer<struct ArrowSchema>>::type schema_ptr(schema_ptr_sexp); |
| 668 | ExportArray(array, array_ptr, schema_ptr); |
| 669 | return R_NilValue; |
| 670 | END_CPP11 |
| 671 | } |
| 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){ |
nothing calls this directly
no test coverage detected