Fortran uses pass-by-ref by default. You could try
integer, value :: i
in the Fortran function declaration, OR
*int
in the MyHandler declaration.
Fortran uses pass-by-ref by default. You could try
integer, value :: i
in the Fortran function declaration, OR
*int
in the MyHandler declaration.