00001 #ifndef H_FTYPES 00002 #define H_FTYPES 00003 // ftypes.h 00004 // typedef's to be used for interfacing FORTRAN routines to C++ 00005 typedef short FInteger2; // INTEGER*2 00006 typedef int FInteger; // INTEGER 00007 typedef long long FInteger8; // INTEGER*8 00008 typedef float FReal; // REAL 00009 typedef double FReal8; // REAL*8 00010 typedef long double FReal16; // REAL*16 00011 typedef double FDouble; // DOUBLE PRECISION 00012 typedef char FCharacter; // CHARACTER 00013 typedef int FLogical; // LOGICAL 00014 #define LOGICAL_IS_INTEGER 00015 typedef short FLogical2; // LOGICAL*2 00016 #define LOGICAL2_IS_INTEGER2 00017 typedef bool FLogical1; // LOGICAL*1 00018 typedef int FStrLength; // Type for passing string lengths 00019 00020 #endif