![]() | Run
Unix/DOS> f2py -m hw -h hw.pyf signatures.f |
![]() | Result: hw.pyf
python module hw ! in interface ! in :hw function hw1(r1,r2) ! in :hw:signatures.f intent(c) hw1 real*8 intent(c) :: r1 real*8 intent(c) :: r2 real*8 intent(c) :: hw1 end function hw1 ... subroutine hw3(r1,r2,s) ! in :hw:signatures.f intent(c) hw3 real*8 intent(c) :: r1 real*8 intent(c) :: r2 real*8 intent(out) :: s end subroutine hw3 end interface end python module hw |