function mylib_fortran() integer :: mylib_fortran mylib_fortran = 42 end function mylib_fortran