Next: F77_CHARACTER_ARG_TYPE - Define the type of a FORTRAN CHARACTER argument
Up: Full Description of F77 Macros
Previous: F77_BYTE_TYPE - Define the type BYTE
F77_CALL
- Call a FORTRAN routine from C
- Description:
- Call a FORTRAN subroutine or function from a C routine.
- Invocation:
- F77_CALL(name)
- Arguments:
-
-
name
-
The name of the FORTRAN routine being called.
- Examples:
-
- F77_CALL(suba)
- will expand as follows:
All Unix: |
suba_ |
VAX/VMS: |
suba |
- Notes:
- This macro is just a shorthand for F77_EXTERNAL_NAME. It is more
expressive to use F77_CALL rather than F77_EXTERNAL_NAME when
calling a routine.
Next: F77_CHARACTER_ARG_TYPE - Define the type of a FORTRAN CHARACTER argument
Up: Full Description of F77 Macros
Previous: F77_BYTE_TYPE - Define the type BYTE
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