diff options
author | Guido van Rossum <guido@python.org> | 2003-02-19 15:53:17 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2003-02-19 15:53:17 (GMT) |
commit | 6297a7a9fbf7675bf23a9b5aa822ed5aaec19647 (patch) | |
tree | 39464e145aa29a7b507fb3b9f080841e3f8f00e0 /Python/pystate.c | |
parent | 162e38c6a312aa3e9c353419301087a4620c513c (diff) | |
download | cpython-6297a7a9fbf7675bf23a9b5aa822ed5aaec19647.zip cpython-6297a7a9fbf7675bf23a9b5aa822ed5aaec19647.tar.gz cpython-6297a7a9fbf7675bf23a9b5aa822ed5aaec19647.tar.bz2 |
- PyEval_GetFrame() is now declared to return a PyFrameObject *
instead of a plain PyObject *. (SF patch #686601 by Ben Laurie.)
Diffstat (limited to 'Python/pystate.c')
-rw-r--r-- | Python/pystate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/pystate.c b/Python/pystate.c index 707e43e..e200ece 100644 --- a/Python/pystate.c +++ b/Python/pystate.c @@ -35,7 +35,7 @@ static PyThread_type_lock head_mutex = NULL; /* Protects interp->tstate_head */ static PyInterpreterState *interp_head = NULL; PyThreadState *_PyThreadState_Current = NULL; -unaryfunc _PyThreadState_GetFrame = NULL; +PyThreadFrameGetter _PyThreadState_GetFrame = NULL; PyInterpreterState * @@ -126,7 +126,7 @@ PyThreadState_New(PyInterpreterState *interp) { PyThreadState *tstate = PyMem_NEW(PyThreadState, 1); if (_PyThreadState_GetFrame == NULL) - _PyThreadState_GetFrame = (unaryfunc)threadstate_getframe; + _PyThreadState_GetFrame = threadstate_getframe; if (tstate != NULL) { tstate->interp = interp; |