diff options
author | Victor Stinner <vstinner@python.org> | 2022-03-03 22:08:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-03 22:08:07 (GMT) |
commit | 32f0c8271706550096c454eb512450b85fbfc320 (patch) | |
tree | 313b4d70a962aee5374064abdd25ac7a432d4936 /Include/internal/pycore_moduleobject.h | |
parent | 0b63215bb152c06404cecbd5303b1a50969a9f9f (diff) | |
download | cpython-32f0c8271706550096c454eb512450b85fbfc320.zip cpython-32f0c8271706550096c454eb512450b85fbfc320.tar.gz cpython-32f0c8271706550096c454eb512450b85fbfc320.tar.bz2 |
bpo-45459: Use type names in the internal C API (GH-31669)
Replace "struct xxx" with "xxx" types in the internal C API.
Diffstat (limited to 'Include/internal/pycore_moduleobject.h')
-rw-r--r-- | Include/internal/pycore_moduleobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/internal/pycore_moduleobject.h b/Include/internal/pycore_moduleobject.h index e9978ab..76361b8 100644 --- a/Include/internal/pycore_moduleobject.h +++ b/Include/internal/pycore_moduleobject.h @@ -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 |