F77_IMPORT_CHARACTER_ARRAY

Import a CHARACTER array from FORTRAN to C.

Description:

The FORTRAN array will be copied to the the C array, making any required changes to the data.

Invocation

F77_IMPORT_CHARACTER_ARRAY(farg,len_f,carg,len_c,nels)

Arguments

farg
A pointer to the FORTRAN array
len_f
The length of each element of the FORTRAN array
carg
A pointer to the C array
len_c
The length of each element of the C array
nels
The number of elements to be exported

Examples:

F77_IMPORT_CHARACTER_ARRAY(farg,lf,carg,lc,nels)
will expand as follows:
All systems: { int f77dims[1];f77dims[0]=nels;
cnfImprta(farg,lf,carg,lc,1,f77dims);}

Associated macro:

F77_EXPORT_CHARACTER_ARRAY