next up previous 252
Next: Logical Values
Up: More on Calling C from FORTRAN
Previous: Arguments - and Pointers to Them


Type Specifiers

There are macros F77_type_TYPE which expand to the C data type that corresponds to the FORTRAN data type of the macro name, e.g. on a particular computer F77_INTEGER_TYPE may expand to int. These are usually not needed explicitly within user written code, but can be required when declaring common blocks, casting values from a variable of one type to one of a different type and when using the sizeof operator.



next up previous 252
Next: Logical Values
Up: More on Calling C from FORTRAN
Previous: Arguments - and Pointers to Them

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