mirror of https://github.com/python/cpython
Replace DL_EXPORT with PyMODINIT_FUNC
This commit is contained in:
parent
408b6d34de
commit
543fb35cca
|
@ -54,7 +54,7 @@ static PyMethodDef noddy_methods[] = {
|
|||
{NULL} /* Sentinel */
|
||||
};
|
||||
|
||||
DL_EXPORT(void)
|
||||
PyMODINIT_FUNC
|
||||
initnoddy(void)
|
||||
{
|
||||
noddy_NoddyType.ob_type = &PyType_Type;
|
||||
|
|
Loading…
Reference in New Issue