summaryrefslogtreecommitdiff
path: root/numpy/f2py/rules.py
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2006-01-24 20:10:32 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2006-01-24 20:10:32 +0000
commit6a355bbee8dbfdbc33f4254a4bcdc35ec1c401f7 (patch)
treebebc64755c7e1251141d6c41b5a0740fb1eb5fde /numpy/f2py/rules.py
parent4b644a764e0f4d2d6efff0aa73cf51b53d36f808 (diff)
downloadnumpy-6a355bbee8dbfdbc33f4254a4bcdc35ec1c401f7.tar.gz
Added missing return to f2py generated ext/module init function.
Diffstat (limited to 'numpy/f2py/rules.py')
-rw-r--r--numpy/f2py/rules.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/f2py/rules.py b/numpy/f2py/rules.py
index f47e5d44f..50f646f6f 100644
--- a/numpy/f2py/rules.py
+++ b/numpy/f2py/rules.py
@@ -194,7 +194,7 @@ DL_EXPORT(int) init#modulename#(void) {
#ifdef F2PY_REPORT_ATEXIT
\ton_exit(f2py_report_on_exit,(void*)\"#modulename#\");
#endif
-
+return 0;
}
#ifdef __cplusplus
}