diff options
author | njsmith <njs@pobox.com> | 2012-09-21 06:51:26 -0700 |
---|---|---|
committer | njsmith <njs@pobox.com> | 2012-09-21 06:51:26 -0700 |
commit | c8ed8baac1921be53d31d014760f9b278d4b9c2e (patch) | |
tree | 979f5306462bc881c8f374ab78b13b0da765f401 /numpy | |
parent | 9597b1fdef7c46b0d1b1485fb680099ec7115f76 (diff) | |
parent | e0457eb3e0bb146411dc9471127329c560155bb7 (diff) | |
download | numpy-c8ed8baac1921be53d31d014760f9b278d4b9c2e.tar.gz |
Merge pull request #365 from bfroehle/static_f2py_size
BUG: Exported f2py_size symbol prevents linking multiple f2py modules.
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/f2py/cfuncs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/f2py/cfuncs.py b/numpy/f2py/cfuncs.py index 4956e5740..72ee4f7a4 100644 --- a/numpy/f2py/cfuncs.py +++ b/numpy/f2py/cfuncs.py @@ -260,7 +260,7 @@ cppmacros['len..']="""\ """ needs['f2py_size']=['stdarg.h'] cfuncs['f2py_size']="""\ -int f2py_size(PyArrayObject* var, ...) +static int f2py_size(PyArrayObject* var, ...) { npy_int sz = 0; npy_int dim; |