type_ARRAY_ARG Pass
an array argument to a FORTRAN routine
Description:
Pass an array argument of the
appropriate type to a FORTRAN routine. The argument should be the address of the array. (type
not LOCATOR.)
Invocation
type_ARRAY_ARG(p_arg)
Arguments
p_arg
A pointer
to the actual array being passed.
Examples:
type_ARRAY_ARG(arg)
will expand as
follows:
All systems: | (F77_type_TYPE *)arg |
Notes:
The cast in the expansion for Unix ensures that multi-dimensional arrays (arrays of arrays),
for example as declared by DECLARE_type_ARRAY, may be passed.
Associated macro: