- PyEval_GetFrame() is now declared to return a PyFrameObject *

instead of a plain PyObject *.  (SF patch #686601 by Ben Laurie.)
This commit is contained in:
Guido van Rossum 2003-02-19 15:53:17 +00:00
parent 162e38c6a3
commit 6297a7a9fb
6 changed files with 19 additions and 12 deletions

View file

@ -766,7 +766,7 @@ PyErr_CheckSignals(void)
if (PyThread_get_thread_ident() != main_thread)
return 0;
#endif
if (!(f = PyEval_GetFrame()))
if (!(f = (PyObject *)PyEval_GetFrame()))
f = Py_None;
for (i = 1; i < NSIG; i++) {