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/structseq.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Include/structseq.h') diff --git a/Include/structseq.h b/Include/structseq.h index e89265a67c..4f5c09f7ba 100644 --- a/Include/structseq.h +++ b/Include/structseq.h @@ -15,7 +15,7 @@ typedef struct PyStructSequence_Field { typedef struct PyStructSequence_Desc { const char *name; const char *doc; - struct PyStructSequence_Field *fields; + PyStructSequence_Field *fields; int n_in_sequence; } PyStructSequence_Desc; -- cgit v1.2.1