next up previous 252
Next: Common Blocks
Up: More on Calling C from FORTRAN
Previous: Logical Values


External Names

The macro F77_EXTERNAL_NAME handles the difference between the actual external name of a function called from FORTRAN and a function that apparently has the same name when called from C. Typically this involves appending an underscore character to a name. This macro is not normally needed directly by the programmer, but is called by other macros.


next up previous 252
Next: Common Blocks
Up: More on Calling C from FORTRAN
Previous: Logical Values

CNF and F77 Mixed Language Programming -- FORTRAN and C
Starlink User Note 209
P.M. Allan
A.J. Chipperfield
R.F. Warren-Smith
P.W. Draper
18 April 2008
E-mail:starlink@jiscmail.ac.uk

Copyright © 2013 Science and Technology Facilities Council