bpo-45459: Use type names in the internal C API (GH-31669)

Replace "struct xxx" with "xxx" types in the internal C API.
This commit is contained in:
Victor Stinner 2022-03-03 23:08:07 +01:00 committed by GitHub
parent 0b63215bb1
commit 32f0c82717
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 14 deletions

View file

@ -11,7 +11,7 @@ extern "C" {
typedef struct {
PyObject_HEAD
PyObject *md_dict;
struct PyModuleDef *md_def;
PyModuleDef *md_def;
void *md_state;
PyObject *md_weaklist;
// for logging purposes after md_dict is cleared