| 1221 | } |
| 1222 | |
| 1223 | void PythonContext::addText(bool isStdError, const QString &output) |
| 1224 | { |
| 1225 | QMutexLocker lock(&outputMutex); |
| 1226 | |
| 1227 | if(isStdError) |
| 1228 | errstr += output; |
| 1229 | else |
| 1230 | outstr += output; |
| 1231 | } |
| 1232 | |
| 1233 | void PythonContext::setPyGlobal(const char *varName, PyObject *obj) |
| 1234 | { |