| 15 | } |
| 16 | |
| 17 | int PythonStreamBuffer::overflow(int c) { |
| 18 | if (c != EOF) { |
| 19 | this->write_function(std::string(1, static_cast<char>(c))); |
| 20 | } |
| 21 | return c; |
| 22 | } |
| 23 | |
| 24 | int PythonStreamBuffer::sync() { |
| 25 | this->flush_function(); |
nothing calls this directly
no outgoing calls
no test coverage detected