From 042f31da552c19054acd3ef7bb6cfd857bce172b Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 24 Feb 2022 17:51:59 +0100 Subject: 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". --- Include/cpython/frameobject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Include/cpython/frameobject.h') diff --git a/Include/cpython/frameobject.h b/Include/cpython/frameobject.h index 67f98a7642..3d862d9deb 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 */ -- cgit v1.2.1