debug build option WITH_PYTHON_UI_INFO, so you can right click and edit the python source for UI layout directly.

This commit is contained in:
2011-10-20 00:48:00 +00:00
parent 4512f10db9
commit 445279524a
8 changed files with 139 additions and 0 deletions

View File

@@ -184,6 +184,15 @@ void PyC_FileAndNum(const char **filename, int *lineno)
}
}
void PyC_FileAndNum_Safe(const char **filename, int *lineno)
{
if(!PYC_INTERPRETER_ACTIVE) {
return;
}
PyC_FileAndNum(filename, lineno);
}
/* Would be nice if python had this built in */
PyObject *PyC_Object_GetAttrStringArgs(PyObject *o, Py_ssize_t n, ...)
{