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/distutils/system_info.py | |
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/distutils/system_info.py')
-rw-r--r-- | numpy/distutils/system_info.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py index a0f481754..617d1d2ca 100644 --- a/numpy/distutils/system_info.py +++ b/numpy/distutils/system_info.py @@ -1063,7 +1063,7 @@ extern "C" { #endif #include "Python.h" static PyMethodDef module_methods[] = { {NULL,NULL} }; -DL_EXPORT(void) initatlas_version(void) { +PyMODINIT_FUNC initatlas_version(void) { void ATL_buildinfo(void); ATL_buildinfo(); Py_InitModule("atlas_version", module_methods); |