next up previous 252
Next: GENPTR_type_FUNCTION - Generate a pointer to a FUNCTION argument
Up: Full Description of F77 Macros
Previous: GENPTR_type - Generate a pointer to an argument


GENPTR_type_ARRAY - Generate a pointer to an array argument

Description:
Ensure that there exists a pointer of the appropriate type to the array that has been passed as an actual argument to the C routine. Since FORTRAN usually passes arguments by reference, the pointer is commonly available directly from the argument list, so this macro is null. (type not LOCATOR.)

Invocation:
GENPTR_type_ARRAY(arg)

Arguments:

arg
The dummy argument.

Examples:

GENPTR_type_ARRAY(arg)
will expand as follows:

All systems:


Associated macro:
GENPTR_CHARACTER_ARRAY



next up previous 252
Next: GENPTR_type_FUNCTION - Generate a pointer to a FUNCTION argument
Up: Full Description of F77 Macros
Previous: GENPTR_type - Generate a pointer to an 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