+ unify method names

This commit is contained in:
wmayer
2016-05-18 23:43:58 +02:00
parent 554d3736f9
commit c81aca0902
3 changed files with 5 additions and 5 deletions

View File

@@ -214,7 +214,7 @@ std::string InterpreterSingleton::runString(const char *sCmd)
}
}
Py::Object InterpreterSingleton::runString_returnObject(const char *sCmd)
Py::Object InterpreterSingleton::runStringObject(const char *sCmd)
{
PyObject *module, *dict, *presult; /* "exec code in d, d" */
@@ -235,7 +235,7 @@ Py::Object InterpreterSingleton::runString_returnObject(const char *sCmd)
throw PyException();
}
return Py::Object(presult, true);
return Py::asObject(presult);
}
void InterpreterSingleton::systemExit(void)