ISO C Fortran 2003, gfortran >= 4.3. C (.., , ), Fortran. () , Windows Linker . , Fortran - , .
"" Fortran, "Foo", , Foo C ( void) - / Fortran C. Foo , . "bind" , , . Foo Fortran, "" Fortran.
C - , Visual Basic. ISO C , , , , .
interface VisBasSubs
subroutine foo (DoubleArg) bind (C, name="Foo")
use iso_c_binding, only: c_double
real (kind=c_double), intent (inout) :: DoubleArg
end subroutine foo
end interface VisBasSubs