Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:06:40

0001 /* Frame object interface */
0002 
0003 #ifndef Py_CPYTHON_FRAMEOBJECT_H
0004 #  error "this header file must not be included directly"
0005 #endif
0006 
0007 /* Standard object interface */
0008 
0009 PyAPI_FUNC(PyFrameObject *) PyFrame_New(PyThreadState *, PyCodeObject *,
0010                                         PyObject *, PyObject *);
0011 
0012 /* The rest of the interface is specific for frame objects */
0013 
0014 /* Conversions between "fast locals" and locals in dictionary */
0015 
0016 PyAPI_FUNC(void) PyFrame_LocalsToFast(PyFrameObject *, int);
0017 
0018 /* -- Caveat emptor --
0019  * The concept of entry frames is an implementation detail of the CPython
0020  * interpreter. This API is considered unstable and is provided for the
0021  * convenience of debuggers, profilers and state-inspecting tools. Notice that
0022  * this API can be changed in future minor versions if the underlying frame
0023  * mechanism change or the concept of an 'entry frame' or its semantics becomes
0024  * obsolete or outdated. */
0025 
0026 PyAPI_FUNC(int) _PyFrame_IsEntryFrame(PyFrameObject *frame);
0027 
0028 PyAPI_FUNC(int) PyFrame_FastToLocalsWithError(PyFrameObject *f);
0029 PyAPI_FUNC(void) PyFrame_FastToLocals(PyFrameObject *);