next up previous 252
Next: F77_TRUE - The logical value TRUE
Up: Full Description of F77 Macros
Previous: F77_REAL_TYPE - Define the type REAL


F77_SUBROUTINE - Declare a SUBROUTINE

Description:
Declare a C function that will be called from FORTRAN as though it were a subroutine.

Invocation:
F77_SUBROUTINE(name)

Arguments:

name
The name of the function to be declared.

Examples:

F77_SUBROUTINE(name)
will expand as follows:

All Unix: void name_
VAX/VMS: void name




next up previous 252
Next: F77_TRUE - The logical value TRUE
Up: Full Description of F77 Macros
Previous: F77_REAL_TYPE - Define the type REAL

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