(j3.2006) C interoperability idea from a colleague

Van Snyder Van.Snyder
Mon Apr 13 20:53:26 EDT 2015

A colleague would like to reference a Fortran subroutine that has
several optional arguments from C.

I referred him to the "Further Interoperability" TS.

He asked if he had to provide a descriptor for every argument, not just
the ones that are present.

I said that's the way it is.

He suggested that the descriptor ought to include the Fortran argument
name, and the called Fortran subroutine ought to work out which
arguments are present.

I don't know whether that's practical, or not incompatible with what we
did, but it is interesting.

More information about the J3 mailing list