| 233 | } |
| 234 | |
| 235 | PyObject* |
| 236 | PythonWrapper::getResults() |
| 237 | { |
| 238 | PyObject* result = currentResult; |
| 239 | currentResult = 0; |
| 240 | |
| 241 | if (result == 0) { |
| 242 | Py_INCREF(Py_None); |
| 243 | result = Py_None; |
| 244 | } |
| 245 | |
| 246 | return result; |
| 247 | } |
| 248 | |
| 249 | ////////////////////////////////////////////// |
| 250 | /////// Python wrapper functions //////////// |
no outgoing calls
no test coverage detected