From: Amaury Forgeot d'Arc Date: Wed, 11 Jun 2008 18:35:23 +0000 (+0000) Subject: Correctly export the module init function. Needed on Windows. X-Git-Tag: v3.0b1~98 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ea6d58d9d3033436b52e84960b9571525a4f5412;p=thirdparty%2FPython%2Fcpython.git Correctly export the module init function. Needed on Windows. --- diff --git a/Modules/_multiprocessing/multiprocessing.c b/Modules/_multiprocessing/multiprocessing.c index 89c5717b6cc3..19d12ae64605 100644 --- a/Modules/_multiprocessing/multiprocessing.c +++ b/Modules/_multiprocessing/multiprocessing.c @@ -225,7 +225,7 @@ static struct PyModuleDef multiprocessing_module = { }; -PyObject* +PyMODINIT_FUNC PyInit__multiprocessing(void) { PyObject *module, *temp;