summaryrefslogtreecommitdiff
path: root/Include/cpython/frameobject.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-02-25 12:53:19 +0100
committerGitHub <noreply@github.com>2022-02-25 12:53:19 +0100
commit18b5dd68c6b616257ae243c0b6bb965ffc885a23 (patch)
tree5d7248f7ff003e8f51b1883eb23018bd61ef5750 /Include/cpython/frameobject.h
parent4657bf701670215ce69b89401b2307022a3b0a7d (diff)
downloadcpython-git-18b5dd68c6b616257ae243c0b6bb965ffc885a23.tar.gz
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/frameobject.h')
-rw-r--r--Include/cpython/frameobject.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/Include/cpython/frameobject.h b/Include/cpython/frameobject.h
index 3d862d9deb..e69209686b 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;