F77_EXPORT_CHARACTER_ARRAY_P

Export an array of pointers to char from C to a FORTRAN CHARACTER array.

Description:

The strings pointed to by the specified number of elements of the C array will be copied to the FORTRAN array, making any required changes to the data.

Invocation

F77_EXPORT_CHARACTER_ARRAY_P(carg,farg,lf,nels)

Arguments

carg
A pointer to the C array
farg
A pointer to the FORTRAN array
lf
The length of the FORTRAN strings
nels
The number of elements to be exported

Examples:

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

Associated macro:

F77_IMPORT_CHARACTER_ARRAY_P