next up previous 252
Next: Classified List of F77 Macros
Up: CNF and F77 Mixed Language Programming - FORTRAN and C
Previous: Rationale for Mixed Language Programming


Alphabetical List of F77 Macros

The list is alphabetical except that the generic type has highest priority. type may be one of: CHARACTER, DOUBLE, INTEGER, LOGICAL, REAL, BYTE, WORD, UBYTE, UWORD or POINTER.
type
Declare a C function argument of the specified type
type_ARG
Pass an argument of the specified type to a FORTRAN routine
type_ARRAY
Declare a C function argument as an array of the specified type
type_ARRAY_ARG
Pass an array argument of the specified type to a FORTRAN routine
type_FUNCTION
Declare a C function argument as a FORTRAN-callable FUNCTION of the specified type
type_FUNCTION_ARG
Pass a FORTRAN-callable FUNCTION of the specified type as an argument to a FORTRAN routine
CHARACTER_RETURN_ARG
Pass an argument that will be the return value of a CHARACTER FUNCTION
CHARACTER_RETURN_VALUE
Declare an argument that will be the return value of a CHARACTER FUNCTION
DECLARE_type
Declare a variable of the specified type
DECLARE_type_ARRAY
Declare an array of the specified type
DECLARE_type_ARRAY_DYN
Declare a dynamic array of the specified type
DECLARE_CHARACTER_DYN
Declare a dynamic FORTRAN CHARACTER variable
F77_type_FUNCTION
Declare a FORTRAN-callable function that returns a value of the specified type
F77_BLANK_COMMON
Refer to blank common
F77_BYTE_TYPE
Define the C type corresponding to the FORTRAN type BYTE
F77_CALL
Call a FORTRAN routine from C
F77_CHARACTER_ARG_TYPE
Define the type passed as a CHARACTER argument
F77_CHARACTER_ARRAY_ARG_TYPE
Define the type passed as a CHARACTER array argument
F77_CHARACTER_TYPE
Define the C type corresponding to the FORTRAN type CHARACTER
F77_CREATE_type_ARRAY
Create a dynamic FORTRAN array of type
F77_CREATE_CHARACTER
Create a dynamic FORTRAN CHARACTER variable
F77_CREATE_CHARACTER_ARRAY
Create a dynamic FORTRAN CHARACTER 1-D array
F77_CREATE_CHARACTER_ARRAY_M
Create a dynamic FORTRAN CHARACTER n-D array
F77_CREATE_LOGICAL_ARRAY_M
Create a dynamic FORTRAN LOGICAL n-D array
F77_DOUBLE_TYPE
Define the C type corresponding to the FORTRAN type DOUBLE PRECISION
F77_EXPORT_type
Export a C variable of the specified type to FORTRAN
F77_EXPORT_type_ARRAY
Export a C array of the specified type to FORTRAN
F77_EXPORT_CHARACTER_ARRAY_P
Export an array of pointers to char
F77_EXTERNAL_NAME
The external name of a function
F77_FALSE
The FORTRAN logical value FALSE
F77_FREE_type
Free a dynamic FORTRAN array or CHARACTER variable
F77_IMPORT_type
Import a FORTRAN variable of the specified type to C
F77_IMPORT_type_ARRAY
Import a FORTRAN array of the specified type to C
F77_IMPORT_CHARACTER_ARRAY_P
Import an array of pointers to char
F77_INTEGER_TYPE
Define the C type corresponding to the FORTRAN type INTEGER
F77_ISFALSE
Is this the FORTRAN logical value false?
F77_ISTRUE
Is this the FORTRAN logical value true?
F77_LOGICAL_TYPE
Define the C type corresponding to the FORTRAN type LOGICAL
F77_NAMED_COMMON
Refer to a named common block
F77_REAL_TYPE
Define the C type corresponding to the FORTRAN type REAL
F77_SUBROUTINE
Declare a FORTRAN-callable SUBROUTINE
F77_TRUE
The FORTRAN logical value TRUE
GENPTR_type
Generate a pointer to an argument of the specified type
GENPTR_type_ARRAY
Generate a pointer to an array argument of the specified type
GENPTR_type_FUNCTION
Generate a pointer to an argument which is a FORTRAN-callable FUNCTION of the specified type
GENPTR_SUBROUTINE
Generate a pointer to an argument which is a FORTRAN-callable SUBROUTINE
SUBROUTINE
Declare a C function argument as a FORTRAN-callable SUBROUTINE name
SUBROUTINE_ARG
Pass a FORTRAN-callable SUBROUTINE name as an argument to a FORTRAN routine
TRAIL
Declare hidden trailing arguments
TRAIL_ARG
Pass the length of a CHARACTER argument to a FORTRAN routine



next up previous 252
Next: Classified List of F77 Macros
Up: CNF and F77 Mixed Language Programming - FORTRAN and C
Previous: Rationale for Mixed Language Programming

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