]> granicus.if.org Git - python/commitdiff
Correctly export the module init function. Needed on Windows.
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Wed, 11 Jun 2008 18:35:23 +0000 (18:35 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Wed, 11 Jun 2008 18:35:23 +0000 (18:35 +0000)
Modules/_multiprocessing/multiprocessing.c

index 89c5717b6cc34bd2ee7aa8d96f1a95d1043c0a68..19d12ae646053976bf693eb14860804389bbe3a2 100644 (file)
@@ -225,7 +225,7 @@ static struct PyModuleDef multiprocessing_module = {
 };\r
 \r
 \r
-PyObject*\r
+PyMODINIT_FUNC \r
 PyInit__multiprocessing(void)\r
 {\r
        PyObject *module, *temp;\r