next up previous 252
Next: F77_IMPORT_type - Import a FORTRAN variable to a C variable.
Up: Full Description of F77 Macros
Previous: F77_EXPORT_type_ARRAY - Export an array of type from C to FORTRAN


F77_FREE_type - Free a dynamic variable of type

Description:
Frees the space obtained by a previous F77_CREATE_type_ARRAY or F77_CREATE_CHARACTER macro). Makes use of cnf functions where appropriate. If the associated CREATE macro was null, the FREE macro will be null.

Invocation:
F77_FREE_type(arg)

Arguments:

arg
The variable as passed to the FORTRAN subroutine.

Examples:

F77_FREE_LOGICAL(flog)
will expand as follows:

All systems: cnfFree((char *)flog)




next up previous 252
Next: F77_IMPORT_type - Import a FORTRAN variable to a C variable.
Up: Full Description of F77 Macros
Previous: F77_EXPORT_type_ARRAY - Export an array of type from C to FORTRAN

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