diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2006-10-13 20:41:27 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2006-10-13 20:41:27 +0000 |
commit | ec5a3911b06f7dbefe89947a42d8ff23e1b82fdd (patch) | |
tree | 1c492068b2ede174bf5d73267c0a7dc009bbd299 /numpy/f2py/lib/py_wrap_subprogram.py | |
parent | 2d2cc2c1f8ce408b8247fd80b2fccb3ae81edc01 (diff) | |
download | numpy-ec5a3911b06f7dbefe89947a42d8ff23e1b82fdd.tar.gz |
F2PY G3: modules can import f90 derived type wrappers from other modules.
Diffstat (limited to 'numpy/f2py/lib/py_wrap_subprogram.py')
-rw-r--r-- | numpy/f2py/lib/py_wrap_subprogram.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/f2py/lib/py_wrap_subprogram.py b/numpy/f2py/lib/py_wrap_subprogram.py index 0d3c8ed7e..24bd07e1b 100644 --- a/numpy/f2py/lib/py_wrap_subprogram.py +++ b/numpy/f2py/lib/py_wrap_subprogram.py @@ -88,7 +88,8 @@ static void %(init_func)s_c(%(name)s_functype func_ptr) { return defined.append(cname) - self.info('Generating interface for %s: %s' % (block.__class__, cname)) + self.info('Generating interface for %s %s: %s' % (parent.modulename, block.__class__.__name__, cname)) + self.parent = parent if pyname.startswith('f2pywrap_'): pyname = pyname[9:] |