4 #ifndef Py_FRAMEOBJECT_H
5 #define Py_FRAMEOBJECT_H
57 #define PyFrame_Check(op) ((op)->ob_type == &PyFrame_Type)
58 #define PyFrame_IsRestricted(f) \
59 ((f)->f_builtins != (f)->f_tstate->interp->builtins)
74 PyAPI_FUNC(PyObject **) PyFrame_ExtendStack(PyFrameObject *,
int,
int);
78 PyAPI_FUNC(
void) PyFrame_LocalsToFast(PyFrameObject *,
int);
79 PyAPI_FUNC(
void) PyFrame_FastToLocals(PyFrameObject *);
84 PyAPI_FUNC(
int) PyFrame_GetLineNumber(PyFrameObject *);