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 /Include/ceval.h | |
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 'Include/ceval.h')
-rw-r--r-- | Include/ceval.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Include/ceval.h b/Include/ceval.h index 9bb145d..8d0ca9e 100644 --- a/Include/ceval.h +++ b/Include/ceval.h @@ -25,11 +25,13 @@ PyAPI_FUNC(PyObject *) PyEval_CallMethod(PyObject *obj, PyAPI_FUNC(void) PyEval_SetProfile(Py_tracefunc, PyObject *); PyAPI_FUNC(void) PyEval_SetTrace(Py_tracefunc, PyObject *); +struct _frame; /* Avoid including frameobject.h */ + PyAPI_FUNC(PyObject *) PyEval_GetBuiltins(void); PyAPI_FUNC(PyObject *) PyEval_GetGlobals(void); PyAPI_FUNC(PyObject *) PyEval_GetLocals(void); PyAPI_FUNC(PyObject *) PyEval_GetOwner(void); -PyAPI_FUNC(PyObject *) PyEval_GetFrame(void); +PyAPI_FUNC(struct _frame *) PyEval_GetFrame(void); PyAPI_FUNC(int) PyEval_GetRestricted(void); /* Look at the current frame's (if any) code's co_flags, and turn on |