![](https://secure.gravatar.com/avatar/da3a0a1942fbdc5ee9a9b8115ac5dae7.jpg?s=120&d=mm&r=g)
5 May
2011
5 May
'11
12:43 p.m.
Thu, 05 May 2011 14:34:19 +0200, Fabian Pedregosa wrote:
I've been backing lately on the LAPACK bindings and there's something I don't understand . Sometimes the fortranname statement is prefixed with `w`, like in
fortranname w<prefix2c>dotc
Someone could tell me why the w is needed?
It's because on some platforms there are difficulties in calling Fortran functions (as opposed to subroutines) from C, so we need subroutine wrappers for the functions. You can find the w* subroutines implemented in some *.f file. Pauli