| 99 | } |
| 100 | |
| 101 | void Reader::getFilename(libmexclass::proxy::method::Context& context) { |
| 102 | namespace mda = ::matlab::data; |
| 103 | mda::ArrayFactory factory; |
| 104 | |
| 105 | MATLAB_ASSIGN_OR_ERROR_WITH_CONTEXT(const auto filename_utf16, |
| 106 | arrow::util::UTF8StringToUTF16(filename), context, |
| 107 | error::UNICODE_CONVERSION_ERROR_ID); |
| 108 | auto filename_utf16_mda = factory.createScalar(filename_utf16); |
| 109 | context.outputs[0] = filename_utf16_mda; |
| 110 | } |
| 111 | |
| 112 | } // namespace arrow::matlab::io::feather::proxy |
nothing calls this directly
no outgoing calls
no test coverage detected