Simbody  3.5
Fortran.h File Reference

This header defines a set of macros which are useful for making calls to Fortran routines from C++ programs. More...

Go to the source code of this file.

Macros

#define SimTK_FORTRAN_STDCALL
 
#define SimTK_FORTRAN(x, X)   x ## _
 
#define SimTK_FORTRAN_STRLEN_FOLLOWS_DECL
 
#define SimTK_FORTRAN_STRLEN_FOLLOWS_CALL(n)
 
#define SimTK_FORTRAN_STRLEN_ATEND_DECL   ,int
 
#define SimTK_FORTRAN_STRLEN_ATEND_CALL(n)    ,n
 
#define SimTK_LAPACK_STDCALL
 
#define SimTK_LAPACK(x, X)   x ## _
 
#define SimTK_LAPACK_STRLEN_FOLLOWS_DECL
 
#define SimTK_LAPACK_STRLEN_FOLLOWS_CALL(n)
 
#define SimTK_LAPACK_STRLEN_ATEND_DECL   ,int
 
#define SimTK_LAPACK_STRLEN_ATEND_CALL(n)    ,n
 

Detailed Description

This header defines a set of macros which are useful for making calls to Fortran routines from C++ programs.

Please don't take this as encouragement to use Fortran, but sometimes it is necessary.

Macro Definition Documentation

#define SimTK_FORTRAN_STDCALL
#define SimTK_FORTRAN (   x,
 
)    x ## _
#define SimTK_FORTRAN_STRLEN_FOLLOWS_DECL
#define SimTK_FORTRAN_STRLEN_FOLLOWS_CALL (   n)
#define SimTK_FORTRAN_STRLEN_ATEND_DECL   ,int
#define SimTK_FORTRAN_STRLEN_ATEND_CALL (   n)    ,n
#define SimTK_LAPACK_STDCALL
#define SimTK_LAPACK (   x,
 
)    x ## _
#define SimTK_LAPACK_STRLEN_FOLLOWS_DECL
#define SimTK_LAPACK_STRLEN_FOLLOWS_CALL (   n)
#define SimTK_LAPACK_STRLEN_ATEND_DECL   ,int
#define SimTK_LAPACK_STRLEN_ATEND_CALL (   n)    ,n