diff options
author | Victor Stinner <vstinner@python.org> | 2022-02-24 16:51:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-24 16:51:59 (GMT) |
commit | 042f31da552c19054acd3ef7bb6cfd857bce172b (patch) | |
tree | d1aa8f20f873c89adebbac7072d80dceb19d32c4 /Include/cpython/frameobject.h | |
parent | ec091bd47e2f968b0d1631b9a8104283a7beeb1b (diff) | |
download | cpython-042f31da552c19054acd3ef7bb6cfd857bce172b.zip cpython-042f31da552c19054acd3ef7bb6cfd857bce172b.tar.gz cpython-042f31da552c19054acd3ef7bb6cfd857bce172b.tar.bz2 |
bpo-45459: C API uses type names rather than structure names (GH-31528)
Thanks to the new pytypedefs.h, it becomes to use type names like
PyObject rather like structure names like "struct _object".
Diffstat (limited to 'Include/cpython/frameobject.h')
-rw-r--r-- | Include/cpython/frameobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/cpython/frameobject.h b/Include/cpython/frameobject.h index 67f98a7..3d862d9 100644 --- a/Include/cpython/frameobject.h +++ b/Include/cpython/frameobject.h @@ -6,7 +6,7 @@ struct _frame { PyObject_HEAD - struct _frame *f_back; /* previous frame, or NULL */ + 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 */ |