next up previous 252
Next: Generate Pointers to Arguments
Up: Classified List of F77 Macros
Previous: Declaration of a C Function


Arguments of a C Function

type may be one of: CHARACTER, DOUBLE, INTEGER, LOGICAL, REAL, BYTE, WORD, UBYTE, UWORD or POINTER.
type
Declare a C function argument of the specified type
type_ARRAY
Declare a C function argument as an array of the specified type
type_FUNCTION
Declare a C function argument as a FORTRAN-callable FUNCTION of the specified type
CHARACTER_RETURN_VALUE
Declare an argument that will be the return value of a CHARACTER FUNCTION
SUBROUTINE
Declare a C function argument as a FORTRAN-callable SUBROUTINE name
TRAIL
Declare hidden trailing arguments



next up previous 252
Next: Generate Pointers to Arguments
Up: Classified List of F77 Macros
Previous: Declaration of a C Function

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