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/core/src/umathmodule.c.src | |
| 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/core/src/umathmodule.c.src')
| -rw-r--r-- | numpy/core/src/umathmodule.c.src | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/umathmodule.c.src b/numpy/core/src/umathmodule.c.src index 5b0f44c44..f15fc01ce 100644 --- a/numpy/core/src/umathmodule.c.src +++ b/numpy/core/src/umathmodule.c.src @@ -2269,7 +2269,7 @@ static struct PyMethodDef methods[] = { {NULL, NULL, 0} /* sentinel */ }; -DL_EXPORT(void) initumath(void) { +PyMODINIT_FUNC initumath(void) { PyObject *m, *d, *s, *s2, *c_api; double pinf, pzero, mynan; int UFUNC_FLOATING_POINT_SUPPORT = 1; |
