F77_EXPORT_type

Export a C variable to a FORTRAN variable.

F77_EXPORT_type Export a C variable to a FORTRAN variable.

Description:

Copies a C variable to a FORTRAN variable making any required changes to the data. (type not CHARACTER.)

Invocation

F77_EXPORT_type(carg,farg)

Arguments

carg
The C value
farg
The FORTRAN variable

Examples:

F77_EXPORT_type(carg,farg)
type LOGICAL will expand as follows:
All systems: farg=carg?F77_TRUE:F77_FALSE

type POINTER will expand as follows:

All systems: farg=cnfFptr(carg)

type LOCATOR will expand as follows:

All systems: cnfExpch(carg,farg,DAT__SZLOC)

All other types will expand as follows:

All systems: farg=carg

Associated macro:

F77_EXPORT_CHARACTER