File indexing completed on 2025-01-18 10:06:41
0001 #ifndef Py_CPYTHON_PYFRAME_H
0002 # error "this header file must not be included directly"
0003 #endif
0004
0005 PyAPI_DATA(PyTypeObject) PyFrame_Type;
0006
0007 #define PyFrame_Check(op) Py_IS_TYPE((op), &PyFrame_Type)
0008
0009 PyAPI_FUNC(PyFrameObject *) PyFrame_GetBack(PyFrameObject *frame);
0010 PyAPI_FUNC(PyObject *) PyFrame_GetLocals(PyFrameObject *frame);
0011
0012 PyAPI_FUNC(PyObject *) PyFrame_GetGlobals(PyFrameObject *frame);
0013 PyAPI_FUNC(PyObject *) PyFrame_GetBuiltins(PyFrameObject *frame);
0014
0015 PyAPI_FUNC(PyObject *) PyFrame_GetGenerator(PyFrameObject *frame);
0016 PyAPI_FUNC(int) PyFrame_GetLasti(PyFrameObject *frame);
0017 PyAPI_FUNC(PyObject*) PyFrame_GetVar(PyFrameObject *frame, PyObject *name);
0018 PyAPI_FUNC(PyObject*) PyFrame_GetVarString(PyFrameObject *frame, const char *name);
0019
0020
0021
0022
0023 struct _PyInterpreterFrame;
0024
0025
0026
0027 PyAPI_FUNC(PyObject *) PyUnstable_InterpreterFrame_GetCode(struct _PyInterpreterFrame *frame);
0028
0029
0030
0031 PyAPI_FUNC(int) PyUnstable_InterpreterFrame_GetLasti(struct _PyInterpreterFrame *frame);
0032
0033
0034
0035 PyAPI_FUNC(int) PyUnstable_InterpreterFrame_GetLine(struct _PyInterpreterFrame *frame);