
![]() | The interface applies a Fortran 90 module (class) syntax |
![]() | Each function/subroutine, its arguments and its return value is specified:
python module hw ! in
interface ! in :hw
...
subroutine hw3(r1,r2,s) ! in :hw:hw.f
real*8 :: r1
real*8 :: r2
real*8 :: s
end subroutine hw3
end interface
end python module hw
(Fortran 90 syntax)
|