summaryrefslogtreecommitdiff
path: root/numpy/lib/src/_compiled_base.c
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/lib/src/_compiled_base.c
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/lib/src/_compiled_base.c')
-rw-r--r--numpy/lib/src/_compiled_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/src/_compiled_base.c b/numpy/lib/src/_compiled_base.c
index 9af8fca0f..e5bfeae43 100644
--- a/numpy/lib/src/_compiled_base.c
+++ b/numpy/lib/src/_compiled_base.c
@@ -430,7 +430,7 @@ define_types(void)
/* Initialization function for the module (*must* be called initArray) */
-DL_EXPORT(void) init_compiled_base(void) {
+PyMODINIT_FUNC init_compiled_base(void) {
PyObject *m, *d, *s;
/* Create the module and add the functions */