Use PyMODINIT_FUNC.

This commit is contained in:
Thomas Heller 2004-07-28 20:02:52 +00:00
parent 17b6d28c64
commit a18331de4e
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ static struct PyMethodDef msvcrt_functions[] = {
{NULL, NULL}
};
__declspec(dllexport) void
PyMODINIT_FUNC
initmsvcrt(void)
{
PyObject *m = Py_InitModule("msvcrt", msvcrt_functions);