| 32 | class python_bytes_sink : public iostreams::sink { |
| 33 | public: |
| 34 | python_bytes_sink(PyObject** pstr) : pstr_(pstr), len_(0), pos_(0) { |
| 35 | BOOST_ASSERT(*pstr == 0); |
| 36 | } |
| 37 | |
| 38 | std::streamsize write(const char* s, std::streamsize n) { |
| 39 | if (len_ == 0) { |
nothing calls this directly
no outgoing calls
no test coverage detected