interface
function my_func(x) bind(c,name='my_func')
use iso_c_binding
real(c_double), intent(in) :: x
real(c_double) :: my_func
end function
end interface
File "C:\Python26\lib\site-packages\numpy\f2py\crackfortran.py", line 665, in markoutercomma
assert not f,`f,line,l,cc`
AssertionError: (1, "x@)@ bind@(@c,name='my_func'", "x@)@ bind@(@c,name='my_func'", ')')
As far as I understand this is just a bug in the parser, since f2py shouldn't care that my fortran code is internally calling C routines.