27 #ifndef PYTHONSTREAM_H
28 #define PYTHONSTREAM_H
33 #if (defined _DEBUG) && (defined WIN32)
35 #include "python/pythonWrapper.h"
38 #include "python/pythonWrapper.h"
69 static PyObject *PythonStream_fileno(
PythonStream*
self);
72 static PyObject *PythonStream_readline(
PythonStream*
self, PyObject *args);
74 static PyObject *PythonStream_seekable(
PythonStream*
self, PyObject *args);
75 static PyObject *PythonStream_writable(
PythonStream*
self, PyObject *args);
76 static PyObject *PythonStream_readable(
PythonStream*
self, PyObject *args);
Definition: pythonStream.h:55
static PyTypeObject PythonStreamType
static PyTypeObject for type PyStream with function pointers to all required static methods...
Definition: pythonStream.h:80
static PyObject * PythonStream_write(PythonStream *self, PyObject *args)
static method invoked if string has been written to stream
Definition: pythonStream.cpp:170
static void PythonStream_dealloc(PythonStream *self)
static method which is called if variable of type PyStream in python workspace has been deleted in or...
Definition: pythonStream.cpp:43
static PyMemberDef PythonStream_members[]
static PyMemberDef table which describes every member of PyStream type
Definition: pythonStream.h:78
Definition: apiFunctionsGraph.cpp:39
static class which implements a new python type. The members cout and cerr of the python system are s...
Definition: pythonStream.h:45
static PyObject * PythonStream_isatty(PythonStream *self, PyObject *args)
setting IOBase params to False since help(bla) will open a terminal if True.idfc. ...
Definition: pythonStream.cpp:91
static PyMethodDef PythonStream_methods[]
static table of type PyMethodDef which contains function pointers and descriptions to all methods...
Definition: pythonStream.h:79
static PyObject * PythonStream_flush(PythonStream *self, PyObject *args)
static method is invoked if stream has been flushed
Definition: pythonStream.cpp:247
static int PythonStream_init(PythonStream *self, PyObject *args, PyObject *kwds)
static init method, which is called if any variable of type PyStream is initialized. This method extracts type value from args.
Definition: pythonStream.cpp:50
static PyObject * PythonStream_name(PythonStream *self)
static method returning name representation of this type
Definition: pythonStream.cpp:81
PyObject_HEAD int type
Definition: pythonStream.h:58