Permalink
Browse files

Merge pull request #3131 from charris/backport-365

BUG: Exported f2py_size symbol prevents linking multiple f2py modules.
  • Loading branch information...
2 parents 6fc5018 + 8415e89 commit bb1bdea328ef38e2dfd75c13b804a42a15f8a3be @njsmith njsmith committed Mar 8, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 numpy/f2py/cfuncs.py
View
@@ -260,7 +260,7 @@
"""
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;

0 comments on commit bb1bdea

Please sign in to comment.