F77_ASSOC_type_ARRAY

Associate a FORTRAN array with a C array.

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)
type not CHARACTER, LOGICAL or POINTER will expand as follows:
All systems: farg=carg

type CHARACTER, LOGICAL or POINTER will expand as follows:

All systems: