diff options
author | Victor Stinner <vstinner@python.org> | 2022-02-25 11:53:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-25 11:53:19 (GMT) |
commit | 18b5dd68c6b616257ae243c0b6bb965ffc885a23 (patch) | |
tree | 5d7248f7ff003e8f51b1883eb23018bd61ef5750 /Include/cpython | |
parent | 4657bf701670215ce69b89401b2307022a3b0a7d (diff) | |
download | cpython-18b5dd68c6b616257ae243c0b6bb965ffc885a23.zip cpython-18b5dd68c6b616257ae243c0b6bb965ffc885a23.tar.gz cpython-18b5dd68c6b616257ae243c0b6bb965ffc885a23.tar.bz2 |
bpo-46836: Move PyFrameObject to pycore_frame.h (GH-31530)
Move the PyFrameObject type definition (struct _frame) to the
internal C API pycore_frame.h header file.
Diffstat (limited to 'Include/cpython')
-rw-r--r-- | Include/cpython/frameobject.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Include/cpython/frameobject.h b/Include/cpython/frameobject.h index 3d862d9..e692096 100644 --- a/Include/cpython/frameobject.h +++ b/Include/cpython/frameobject.h @@ -4,19 +4,6 @@ # error "this header file must not be included directly" #endif -struct _frame { - PyObject_HEAD - PyFrameObject *f_back; /* previous frame, or NULL */ - struct _interpreter_frame *f_frame; /* points to the frame data */ - PyObject *f_trace; /* Trace function */ - int f_lineno; /* Current line number. Only valid if non-zero */ - char f_trace_lines; /* Emit per-line trace events? */ - char f_trace_opcodes; /* Emit per-opcode trace events? */ - char f_owns_frame; /* This frame owns the frame */ - /* The frame data, if this frame object owns the frame */ - PyObject *_f_frame_data[1]; -}; - /* Standard object interface */ PyAPI_DATA(PyTypeObject) PyFrame_Type; |