1 #ifndef Py_CPYTHON_PYFRAME_H
2 #  error "this header file must not be included directly"
3 #endif
4 
5 PyAPI_DATA(PyTypeObject) PyFrame_Type;
6 
7 #define PyFrame_Check(op) Py_IS_TYPE((op), &PyFrame_Type)
8 
9 PyAPI_FUNC(PyFrameObject *) PyFrame_GetBack(PyFrameObject *frame);
10 PyAPI_FUNC(PyObject *) PyFrame_GetLocals(PyFrameObject *frame);
11 
12 PyAPI_FUNC(PyObject *) PyFrame_GetGlobals(PyFrameObject *frame);
13 PyAPI_FUNC(PyObject *) PyFrame_GetBuiltins(PyFrameObject *frame);
14 
15 PyAPI_FUNC(PyObject *) PyFrame_GetGenerator(PyFrameObject *frame);
16 PyAPI_FUNC(int) PyFrame_GetLasti(PyFrameObject *frame);
17 
18