next up previous 252
Next: type_ARRAY_ARG - Pass an array argument to a FORTRAN routine
Up: Full Description of F77 Macros
Previous: type_ARG - Pass a type argument to a FORTRAN routine


type_ARRAY - Declare a array argument

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

Invocation:
type_ARRAY(arg)

Arguments:

arg
The dummy argument to be declared.

Examples:

type_ARRAY(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_ARRAY


next up previous 252
Next: type_ARRAY_ARG - Pass an array argument to a FORTRAN routine
Up: Full Description of F77 Macros
Previous: type_ARG - Pass a type argument to a FORTRAN routine

CNF and F77 Mixed Language Programming -- FORTRAN and C
Starlink User Note 209
P.M. Allan
A.J. Chipperfield
R.F. Warren-Smith
P.W. Draper
18 April 2008
E-mail:starlink@jiscmail.ac.uk

Copyright © 2013 Science and Technology Facilities Council