From dea2aed0b509734ec4e1cd163ac2a4f013000da2 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 11 Jun 2010 16:03:50 -0400 Subject: Untabified all source files --- src/pyfstream.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/pyfstream.h') diff --git a/src/pyfstream.h b/src/pyfstream.h index 02e4d240..37978ff4 100644 --- a/src/pyfstream.h +++ b/src/pyfstream.h @@ -59,7 +59,7 @@ protected: z[0] = static_cast(c); z[1] = '\0'; if (PyFile_WriteString(z, reinterpret_cast(fo)) < 0) { - return EOF; + return EOF; } } return c; @@ -124,8 +124,8 @@ public: TRACE_CTOR(pyinbuf, "PyFileObject *"); setg (buffer+pbSize, // beginning of putback area - buffer+pbSize, // read position - buffer+pbSize); // end position + buffer+pbSize, // read position + buffer+pbSize); // end position } ~pyinbuf() throw() { TRACE_DTOR(pyinbuf); @@ -157,7 +157,7 @@ protected: * the putback area */ memmove (buffer+(pbSize-numPutback), gptr()-numPutback, - numPutback); + numPutback); // read at most bufSize new characters PyObject *line = PyFile_GetLine(reinterpret_cast(fo), bufSize); @@ -174,8 +174,8 @@ protected: // reset buffer pointers setg (buffer+(pbSize-numPutback), // beginning of putback area - buffer+pbSize, // read position - buffer+pbSize+num); // end of buffer + buffer+pbSize, // read position + buffer+pbSize+num); // end of buffer // return next character return traits_type::to_int_type(*gptr()); -- cgit v1.2.3