| 5 | |
| 6 | namespace uno { |
| 7 | PythonStreamBuffer::PythonStreamBuffer(pybind11::object stream): |
| 8 | write_function(stream.attr("write")), |
| 9 | flush_function(stream.attr("flush")) { |
| 10 | } |
| 11 | |
| 12 | std::streamsize PythonStreamBuffer::xsputn(const char* s, std::streamsize n) { |
| 13 | this->write_function(std::string(s, n)); |
nothing calls this directly
no outgoing calls
no test coverage detected