+ extend PyStreambuf to write data

This commit is contained in:
wmayer
2016-06-11 11:54:01 +02:00
parent e42385a25b
commit 432dcb5833
2 changed files with 97 additions and 51 deletions

View File

@@ -242,9 +242,12 @@ class BaseExport PyStreambuf : public std::streambuf
{
public:
PyStreambuf(PyObject* o);
virtual ~PyStreambuf();
protected:
int underflow();
int_type underflow();
int_type overflow(int_type c = EOF);
std::streamsize xsputn (const char* s, std::streamsize num);
private:
static const int pbSize = 4;