Kaydet (Commit) 543fb35c authored tarafından Mark Hammond's avatar Mark Hammond

Replace DL_EXPORT with PyMODINIT_FUNC

üst 408b6d34
...@@ -54,7 +54,7 @@ static PyMethodDef noddy_methods[] = { ...@@ -54,7 +54,7 @@ static PyMethodDef noddy_methods[] = {
{NULL} /* Sentinel */ {NULL} /* Sentinel */
}; };
DL_EXPORT(void) PyMODINIT_FUNC
initnoddy(void) initnoddy(void)
{ {
noddy_NoddyType.ob_type = &PyType_Type; noddy_NoddyType.ob_type = &PyType_Type;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment