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:
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