Teuchos_F77_wrappers.h File Reference

Macros for portably calling Fortran77 from C/C++. More...

#include "Teuchos_ConfigDefs.hpp"
Include dependency graph for Teuchos_F77_wrappers.h:

Go to the source code of this file.

Defines

#define F77_CALL_PREFIX
#define FORTRAN_CHAR_1_ARG(ARG_NAME)   char* ARG_NAME
#define FORTRAN_CONST_CHAR_1_ARG(ARG_NAME)   const char& ARG_NAME
#define FORTRAN_CHAR_1_ARG_CALL(ARG_NAME)   ARG_NAME
#define FORTRAN_NAME_UL(UNAME, LNAME)   F77_FUNC(LNAME,UNAME)
#define FORTRAN_FUNC_DECL_UL(TYPE, UFUNC_NAME, LFUNC_NAME)   TYPE F77_CALL_PREFIX FORTRAN_NAME_UL(UFUNC_NAME,LFUNC_NAME)
#define FORTRAN_FUNC_CALL_UL(UFUNC_NAME, LFUNC_NAME)   FORTRAN_NAME_UL(UFUNC_NAME,LFUNC_NAME)
#define FORTRAN_FUNC_PTR_DECL_UL(TYPE, UFUNC_NAME, LFUNC_NAME)   TYPE (F77_CALL_PREFIX *FORTRAN_NAME_UL(UFUNC_NAME,LFUNC_NAME))
#define FORTRAN_COMMMON_BLOCK_NAME_UL(UNAME, LNAME)   FORTRAN_NAME_UL(UNAME,LNAME)\
#define FORTRAN_NAME_UL_(UNAME, LNAME)   F77_FUNC_(LNAME,UNAME)
#define FORTRAN_FUNC_DECL_UL_(TYPE, UFUNC_NAME, LFUNC_NAME)   TYPE F77_CALL_PREFIX FORTRAN_NAME_UL_(UFUNC_NAME,LFUNC_NAME)
#define FORTRAN_FUNC_CALL_UL_(UFUNC_NAME, LFUNC_NAME)   FORTRAN_NAME_UL_(UFUNC_NAME,LFUNC_NAME)
#define FORTRAN_FUNC_PTR_DECL_UL_(TYPE, UFUNC_NAME, LFUNC_NAME)   TYPE (F77_CALL_PREFIX *FORTRAN_NAME_UL_(UFUNC_NAME,LFUNC_NAME))
#define FORTRAN_COMMMON_BLOCK_NAME_UL_(UNAME, LNAME)   FORTRAN_NAME_UL_(UNAME,LNAME)\

Detailed Description

Macros for portably calling Fortran77 from C/C++.

Definition in file Teuchos_F77_wrappers.h.


Define Documentation

#define F77_CALL_PREFIX

Definition at line 64 of file Teuchos_F77_wrappers.h.

#define FORTRAN_CHAR_1_ARG ( ARG_NAME   )     char* ARG_NAME

Definition at line 65 of file Teuchos_F77_wrappers.h.

#define FORTRAN_CONST_CHAR_1_ARG ( ARG_NAME   )     const char& ARG_NAME

Definition at line 66 of file Teuchos_F77_wrappers.h.

#define FORTRAN_CHAR_1_ARG_CALL ( ARG_NAME   )     ARG_NAME

Definition at line 67 of file Teuchos_F77_wrappers.h.

#define FORTRAN_NAME_UL ( UNAME,
LNAME   )     F77_FUNC(LNAME,UNAME)

Definition at line 76 of file Teuchos_F77_wrappers.h.

#define FORTRAN_FUNC_DECL_UL ( TYPE,
UFUNC_NAME,
LFUNC_NAME   )     TYPE F77_CALL_PREFIX FORTRAN_NAME_UL(UFUNC_NAME,LFUNC_NAME)

Definition at line 78 of file Teuchos_F77_wrappers.h.

#define FORTRAN_FUNC_CALL_UL ( UFUNC_NAME,
LFUNC_NAME   )     FORTRAN_NAME_UL(UFUNC_NAME,LFUNC_NAME)

Definition at line 80 of file Teuchos_F77_wrappers.h.

#define FORTRAN_FUNC_PTR_DECL_UL ( TYPE,
UFUNC_NAME,
LFUNC_NAME   )     TYPE (F77_CALL_PREFIX *FORTRAN_NAME_UL(UFUNC_NAME,LFUNC_NAME))

Definition at line 82 of file Teuchos_F77_wrappers.h.

#define FORTRAN_COMMMON_BLOCK_NAME_UL ( UNAME,
LNAME   )     FORTRAN_NAME_UL(UNAME,LNAME)\

Definition at line 84 of file Teuchos_F77_wrappers.h.

#define FORTRAN_NAME_UL_ ( UNAME,
LNAME   )     F77_FUNC_(LNAME,UNAME)

Definition at line 86 of file Teuchos_F77_wrappers.h.

#define FORTRAN_FUNC_DECL_UL_ ( TYPE,
UFUNC_NAME,
LFUNC_NAME   )     TYPE F77_CALL_PREFIX FORTRAN_NAME_UL_(UFUNC_NAME,LFUNC_NAME)

Definition at line 88 of file Teuchos_F77_wrappers.h.

#define FORTRAN_FUNC_CALL_UL_ ( UFUNC_NAME,
LFUNC_NAME   )     FORTRAN_NAME_UL_(UFUNC_NAME,LFUNC_NAME)

Definition at line 90 of file Teuchos_F77_wrappers.h.

#define FORTRAN_FUNC_PTR_DECL_UL_ ( TYPE,
UFUNC_NAME,
LFUNC_NAME   )     TYPE (F77_CALL_PREFIX *FORTRAN_NAME_UL_(UFUNC_NAME,LFUNC_NAME))

Definition at line 92 of file Teuchos_F77_wrappers.h.

#define FORTRAN_COMMMON_BLOCK_NAME_UL_ ( UNAME,
LNAME   )     FORTRAN_NAME_UL_(UNAME,LNAME)\

Definition at line 94 of file Teuchos_F77_wrappers.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Tue Oct 20 10:23:11 2009 for Teuchos Package Browser (Single Doxygen Collection) by  doxygen 1.6.1