4 typedef unsigned char byte;
\r
5 typedef unsigned short ushort;
\r
7 typedef float SCOREMATRIX[32][32];
\r
8 typedef SCOREMATRIX *PTR_SCOREMATRIX;
\r
24 // Compress M, D and I trace-back matrices into 4 bits
\r
46 // Compress M, D, E, I and J trace-back matrices into 7 bits
\r
58 // [EIJ]D not sallowed
\r
63 // [DDJ]E not allowed
\r
68 // [EDJ]I not allowed
\r
73 // [EDI]J not allowed
\r
81 EXIT_NotStarted = 1,
\r
82 EXIT_FatalError = 2,
\r
88 NODECMP_Undefined = 0,
\r
89 NODECMP_Same = 0, // equivalent to node in old tree
\r
90 NODECMP_Diff = 1, // equivalent & parent is changed
\r
91 NODECMP_Changed = 2 // no equivalent node in old tree
\r
94 // Declare enums using macro hacks (see enums.h).
\r
95 #define s(t) enum t { t##_Undefined = 0,
\r
96 #define c(t, x) t##_##x,
\r
100 // Declare conversion function XXXToStr(XXX x)
\r
101 // for each enum type XXX.
\r
102 #define s(t) const char *t##ToStr(t x);
\r
103 #define c(t, x) /* empty */
\r
104 #define e(t) /* empty */
\r
107 // Declare conversion function StrToXXX(const char *Str)
\r
108 // for each enum type XXX.
\r
109 #define s(t) t StrTo##t(const char *Str);
\r
110 #define c(t, x) /* empty */
\r
111 #define e(t) /* empty */
\r
114 const char *BoolToStr(bool b);
\r
115 const char *SecsToStr(unsigned long Secs);
\r