next up previous 252
Next: GENPTR_type - Generate a pointer to an argument
Up: Full Description of F77 Macros
Previous: F77_IMPORT_type_ARRAY - Import an array of type from FORTRAN to C


F77_type_FUNCTION - Declare a FORTRAN function

Description:
Declare a C function that will be called from FORTRAN as though it were a FORTRAN function of the appropriate type. (type not LOCATOR.)

Invocation:
F77_type_FUNCTION(name)

Arguments:

name
The name of the function to be declared.

Examples:

F77_type_FUNCTION(name)
will expand as follows:

All Unix: F77_type_TYPE name_
VAX/VMS: F77_type_TYPE name

where F77_type_TYPE expands to the appropriate C type.




next up previous 252
Next: GENPTR_type - Generate a pointer to an argument
Up: Full Description of F77 Macros
Previous: F77_IMPORT_type_ARRAY - Import an array of type from FORTRAN to C

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