Re: Accessing C++ function with Mixed Upper/Lower case name from F90 subroutine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

Toon Moene wrote:
> The Standard (as of Fortran 2003, supported by GNU Fortran and ifort)
> way to do this is to add the following to your Fortran code:
>
> $ cat a.f90
> interface gauss
> function gauss() bind(c, name="Gauss")
> use, intrinsic :: iso_c_binding
> real(c_float) :: gauss

See also:
http://gcc.gnu.org/onlinedocs/gfortran/Mixed_002dLanguage-Programming.html

Tobias

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux