next up previous 252
Next: Passing Arguments to a FORTRAN Routine
Up: Classified List of F77 Macros
Previous: Declaring Variables for Passing to a FORTRAN Routine


Importing and Exporting Arguments

type may be one of: CHARACTER, DOUBLE, INTEGER, LOGICAL, REAL, BYTE, WORD, UBYTE, UWORD or POINTER.
F77_EXPORT_type
Export a C variable to a FORTRAN variable of type
F77_EXPORT_type_ARRAY
Export a C array to a FORTRAN array of type
F77_EXPORT_CHARACTER_ARRAY_P
Export an array of pointers to char to a FORTRAN CHARACTER array
F77_IMPORT_type
Import a FORTRAN variable of type to a C variable
F77_IMPORT_type_ARRAY
Import a FORTRAN array of type to a C array
F77_IMPORT_CHARACTER_ARRAY_P
Import a FORTRAN CHARACTER array to a C array of pointer to char
F77_ASSOC_type_ARRAY
Associate a FORTRAN array of type with a C array


next up previous 252
Next: Passing Arguments to a FORTRAN Routine
Up: Classified List of F77 Macros
Previous: Declaring Variables for Passing to a FORTRAN Routine

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