| 89 | } |
| 90 | |
| 91 | void TableReader::getFilename(libmexclass::proxy::method::Context& context) { |
| 92 | namespace mda = ::matlab::data; |
| 93 | mda::ArrayFactory factory; |
| 94 | |
| 95 | MATLAB_ASSIGN_OR_ERROR_WITH_CONTEXT(const auto filename_utf16, |
| 96 | arrow::util::UTF8StringToUTF16(filename), context, |
| 97 | error::UNICODE_CONVERSION_ERROR_ID); |
| 98 | auto filename_utf16_mda = factory.createScalar(filename_utf16); |
| 99 | context.outputs[0] = filename_utf16_mda; |
| 100 | } |
| 101 | |
| 102 | } // namespace arrow::matlab::io::csv::proxy |
nothing calls this directly
no outgoing calls
no test coverage detected