]> granicus.if.org Git - python/commitdiff
Issue #24268: Adds PyModuleDef_Init and PyModuleDef_Type to python3.def (stable ABI)
authorSteve Dower <steve.dower@microsoft.com>
Sat, 23 May 2015 21:44:37 +0000 (14:44 -0700)
committerSteve Dower <steve.dower@microsoft.com>
Sat, 23 May 2015 21:44:37 +0000 (14:44 -0700)
Include/moduleobject.h
PC/python3.def

index e68d144c78f9e400c9a6a92b7dc897051a5c6af0..dbbf581f97aac725603760b81034db7f1ccdb9d9 100644 (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
index 45fda3861e81791206b7f79e5d31d85b27280c1c..f016aab6cf4b5d2a35e38707ce864062ae170653 100644 (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