Interface files
We can tailor the interface by editing an F2PY-generated
interface file
Run F2PY in two steps: (i) generate interface file, (ii) generate wrapper code, compile and link
Generate interface file
hw.pyf
(
-h
option):
f2py -m hw -h hw.pyf hw.f