diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2005-10-28 21:25:47 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2005-10-28 21:25:47 +0000 |
commit | 5dda00de77bbb5ec80deb350a95b5d7780c571b8 (patch) | |
tree | 1a017a7ce73b2aff22f2e92ba80a07f41d20542d /scipy/f2py/docs/usersguide/extcallback.f | |
parent | b87a003a9205916b22abd5fa64580974a2df652a (diff) | |
download | numpy-5dda00de77bbb5ec80deb350a95b5d7780c571b8.tar.gz |
Moved f2py2e to f2py.
Diffstat (limited to 'scipy/f2py/docs/usersguide/extcallback.f')
-rw-r--r-- | scipy/f2py/docs/usersguide/extcallback.f | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scipy/f2py/docs/usersguide/extcallback.f b/scipy/f2py/docs/usersguide/extcallback.f new file mode 100644 index 000000000..9a800628e --- /dev/null +++ b/scipy/f2py/docs/usersguide/extcallback.f @@ -0,0 +1,14 @@ + subroutine f1() + print *, "in f1, calling f2 twice.." + call f2() + call f2() + return + end + + subroutine f2() +cf2py intent(callback, hide) fpy + external fpy + print *, "in f2, calling f2py.." + call fpy() + return + end |