next up previous 252
Next: type_ARG - Pass a type argument to a FORTRAN routine
Up: Full Description of F77 Macros
Previous: GENPTR_type_FUNCTION - Generate a pointer to a FUNCTION argument


type - Declare a type argument

Description:
Declare a C function argument, given that the actual argument will be a variable of the appropriate type, passed from a FORTRAN program. (type not LOCATOR.)

Invocation:
type(arg)

Arguments:

arg
The dummy argument to be declared.

Examples:

type(arg)
will expand as follows:

All Unix: F77_type_TYPE *arg
VAX/VMS: F77_type_TYPE *const arg

where F77_type_TYPE expands to the appropriate C type.


Associated macro:
CHARACTER



next up previous 252
Next: type_ARG - Pass a type argument to a FORTRAN routine
Up: Full Description of F77 Macros
Previous: GENPTR_type_FUNCTION - Generate a pointer to a FUNCTION argument

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