diff options
Diffstat (limited to '3rdparty/python-console/Interpreter.h')
-rw-r--r-- | 3rdparty/python-console/Interpreter.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/3rdparty/python-console/Interpreter.h b/3rdparty/python-console/Interpreter.h index 9e371179..bc72d07c 100644 --- a/3rdparty/python-console/Interpreter.h +++ b/3rdparty/python-console/Interpreter.h @@ -71,9 +71,9 @@ public: */ Interpreter( ); virtual ~Interpreter( ); - + void test( ); - std::string interpret( const std::string& command, int* errorCode ); + std::string interpret( const std::string& command, int* errorCode ); const std::list<std::string>& suggest( const std::string& hint ); /** @@ -87,7 +87,7 @@ public: static void Finalize( ); protected: - static void SetupRedirector( PyThreadState* threadState ); + static PyObject* PyInit_redirector(void); static PyObject* RedirectorInit(PyObject *, PyObject *); static PyObject* RedirectorWrite(PyObject *, PyObject *args); static std::string& GetResultString( PyThreadState* threadState ); |