mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Issue #24268: Adds PyModuleDef_Init and PyModuleDef_Type to python3.def (stable ABI)
This commit is contained in:
parent
1a90b17bce
commit
11d7b1423f
2 changed files with 3 additions and 1 deletions
|
@ -31,7 +31,7 @@ PyAPI_FUNC(struct PyModuleDef*) PyModule_GetDef(PyObject*);
|
|||
PyAPI_FUNC(void*) PyModule_GetState(PyObject*);
|
||||
|
||||
PyAPI_FUNC(PyObject *) PyModuleDef_Init(struct PyModuleDef*);
|
||||
PyTypeObject PyModuleDef_Type;
|
||||
PyAPI_DATA(PyTypeObject) PyModuleDef_Type;
|
||||
|
||||
typedef struct PyModuleDef_Base {
|
||||
PyObject_HEAD
|
||||
|
|
|
@ -330,6 +330,8 @@ EXPORTS
|
|||
PyModule_GetState=python35.PyModule_GetState
|
||||
PyModule_New=python35.PyModule_New
|
||||
PyModule_Type=python35.PyModule_Type DATA
|
||||
PyModuleDef_Init=python35.PyModuleDef_Init
|
||||
PyModuleDef_Type=python35.PyModuleDef_Type DATA
|
||||
PyNullImporter_Type=python35.PyNullImporter_Type DATA
|
||||
PyNumber_Absolute=python35.PyNumber_Absolute
|
||||
PyNumber_Add=python35.PyNumber_Add
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue