Issue #24268: Adds PyModuleDef_Init and PyModuleDef_Type to python3.def (stable ABI)

This commit is contained in:
Steve Dower 2015-05-23 14:44:37 -07:00
parent 1a90b17bce
commit 11d7b1423f
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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