next up previous 252
Next: F77_EXPORT_CHARACTER_ARRAY - Export a CHARACTER array from C to FORTRAN
Up: Full Description of F77 Macros
Previous: F77_DOUBLE_TYPE - Define the type DOUBLE PRECISION


F77_EXPORT_CHARACTER - Export a C variable to a FORTRAN variable.

Description:
Copies a C variable to a FORTRAN variable making any required changes to the data.

Invocation:
F77_EXPORT_CHARACTER(carg,farg,len)

Arguments:

carg
The C value
farg
The FORTRAN variable
len
The length of the FORTRAN string

Examples:

F77_EXPORT_CHARACTER(carg,farg,len)
will expand as follows:

All systems: cnfExprt(carg,farg,len)


Associated macro:
F77_IMPORT_CHARACTER



next up previous 252
Next: F77_EXPORT_CHARACTER_ARRAY - Export a CHARACTER array from C to FORTRAN
Up: Full Description of F77 Macros
Previous: F77_DOUBLE_TYPE - Define the type DOUBLE PRECISION

CNF and F77 Mixed Language Programming -- FORTRAN and C
Starlink User Note 209
P.M. Allan
A.J. Chipperfield
R.F. Warren-Smith
19 January 2000
E-mail:ussc@star.rl.ac.uk