| 5230 | // scalar.cpp |
| 5231 | std::shared_ptr<arrow::Scalar> StructScalar__GetFieldByName(const std::shared_ptr<arrow::StructScalar>& s, const std::string& name); |
| 5232 | extern "C" SEXP _arrow_StructScalar__GetFieldByName(SEXP s_sexp, SEXP name_sexp){ |
| 5233 | BEGIN_CPP11 |
| 5234 | arrow::r::Input<const std::shared_ptr<arrow::StructScalar>&>::type s(s_sexp); |
| 5235 | arrow::r::Input<const std::string&>::type name(name_sexp); |
| 5236 | return cpp11::as_sexp(StructScalar__GetFieldByName(s, name)); |
| 5237 | END_CPP11 |
| 5238 | } |
| 5239 | // scalar.cpp |
| 5240 | std::shared_ptr<arrow::Array> MakeArrayFromScalar(const std::shared_ptr<arrow::Scalar>& scalar, int n); |
| 5241 | extern "C" SEXP _arrow_MakeArrayFromScalar(SEXP scalar_sexp, SEXP n_sexp){ |
nothing calls this directly
no test coverage detected