Replace DL_EXPORT with PyMODINIT_FUNC

This commit is contained in:
Mark Hammond 2002-07-31 06:17:46 +00:00
parent 408b6d34de
commit 543fb35cca
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ static PyMethodDef noddy_methods[] = {
{NULL} /* Sentinel */
};
DL_EXPORT(void)
PyMODINIT_FUNC
initnoddy(void)
{
noddy_NoddyType.ob_type = &PyType_Type;