F77_IMPORT_type

Import a FORTRAN variable to a C variable.

F77_IMPORT_type Import a FORTRAN variable to a C variable.

Description:

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

Invocation

F77_IMPORT_type(farg,carg)

Arguments

farg
The C value
carg
The FORTRAN variable

Examples:

F77_IMPORT_type(farg,carg)
type LOGICAL will expand as follows:
All systems: carg=F77_ISTRUE(farg)

type POINTER will expand as follows:

All systems: carg=cnfCptr(farg)

type LOCATOR will expand as follows:

All systems: cnfImpch(farg,DAT__SZLOC,carg)

All other types will expand as follows:

All systems: carg=farg

Associated macro:

F77_IMPORT_CHARACTER