summaryrefslogtreecommitdiff
path: root/numpy/distutils/system_info.py
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2006-04-24 22:39:21 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2006-04-24 22:39:21 +0000
commit8c7d39dd62049b59ecb90958feeef6bc69cb92bd (patch)
treee297ae47fbdf09a3aaa57669a1decfc863f254e8 /numpy/distutils/system_info.py
parent628087d5e53b152435b71d9330a04719169fa033 (diff)
downloadnumpy-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.py2
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);