diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2006-04-24 22:39:21 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2006-04-24 22:39:21 +0000 |
commit | 8c7d39dd62049b59ecb90958feeef6bc69cb92bd (patch) | |
tree | e297ae47fbdf09a3aaa57669a1decfc863f254e8 /numpy/random | |
parent | 628087d5e53b152435b71d9330a04719169fa033 (diff) | |
download | numpy-8c7d39dd62049b59ecb90958feeef6bc69cb92bd.tar.gz |
Make ext module typespecs to use PyMODINIT_FUNC that is essential for mingw32 and c++ code combination to work correctly.
Diffstat (limited to 'numpy/random')
-rw-r--r-- | numpy/random/mtrand/mtrand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/random/mtrand/mtrand.c b/numpy/random/mtrand/mtrand.c index a8e6e5e75..a54628ea7 100644 --- a/numpy/random/mtrand/mtrand.c +++ b/numpy/random/mtrand/mtrand.c @@ -5113,8 +5113,8 @@ static struct PyMethodDef __pyx_methods[] = { {0, 0, 0, 0} }; -DL_EXPORT(void) initmtrand(void); /*proto*/ -DL_EXPORT(void) initmtrand(void) { +PyMODINIT_FUNC initmtrand(void); /*proto*/ +PyMODINIT_FUNC initmtrand(void) { PyObject *__pyx_1 = 0; PyObject *__pyx_2 = 0; __pyx_m = Py_InitModule4("mtrand", __pyx_methods, 0, 0, PYTHON_API_VERSION); |