Declare a C function argument, to be a FORTRAN-callable FUNCTION of
the specified type, passed from a FORTRAN program.
(type is one of CHARACTER, INTEGER, REAL, DOUBLE, LOGICAL, BYTE,
WORD, UBYTE, UWORD or POINTER.)
Invocation:
type_FUNCTION(arg)
Arguments:
arg
The dummy argument to be declared.
Examples:
type_FUNCTION(arg)
will expand as follows:
All Systems:
F77_type_TYPE (*F77_EXTERNAL_NAME(arg))()
where F77_type_TYPE and
F77_EXTERNAL_NAME expand appropriately for the platform.
CNF and F77 Mixed Language Programming -- FORTRAN and C Starlink User Note 209 P.M. Allan A.J. Chipperfield R.F. Warren-Smith 19 January 2000 E-mail:ussc@star.rl.ac.uk