mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-45459: Fix PyModuleDef_Slot type in the limited C API (GH-31668)
Move the type definition to pytypedefs.h.
This commit is contained in:
parent
4173d677a1
commit
0b63215bb1
2 changed files with 3 additions and 4 deletions
|
@ -10,6 +10,7 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
typedef struct PyModuleDef PyModuleDef;
|
||||
typedef struct PyModuleDef_Slot PyModuleDef_Slot;
|
||||
typedef struct PyMethodDef PyMethodDef;
|
||||
typedef struct PyGetSetDef PyGetSetDef;
|
||||
typedef struct PyMemberDef PyMemberDef;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue