F77_ASSOC_type_ARRAY
- Associate a FORTRAN array with a C array.
Description:
For types which do not require separate memory allocated to hold the
FORTRAN array, this macro ensures that the pointer to the FORTRAN array
points to the memory allocated for the C array.
(type not LOCATOR.)
Invocation:
F77_ASSOC_type_ARRAY(farg,carg)
Arguments:
farg
A pointer to the FORTRAN array
carg
A pointer to the C array
Examples:
F77_ASSOC_type_ARRAY(farg,carg)
typenot CHARACTER, LOGICAL or POINTER will expand as
follows:
All systems:
farg=carg
type CHARACTER, LOGICAL or POINTER will expand as
follows:
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