projects
/
SXSI
/
TextCollection.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added support for non-indexed texts
[SXSI/TextCollection.git]
/
Tools.h
diff --git
a/Tools.h
b/Tools.h
index
45647e8
..
1fb4d56
100644
(file)
--- a/
Tools.h
+++ b/
Tools.h
@@
-25,8
+25,13
@@
# define W 32
#endif
# define W 32
#endif
+#ifndef WW
#define WW (W*2)
#define WW (W*2)
+#endif
+
+#ifndef Wminusone
#define Wminusone (W-1)
#define Wminusone (W-1)
+#endif
#ifndef uchar
#define uchar unsigned char
#ifndef uchar
#define uchar unsigned char
@@
-35,6
+40,8
@@
#define ulong unsigned long
#endif
#define ulong unsigned long
#endif
+#define myminofthree(x,y,z) (x)<(y)?((x)<(z)?(x):(z)):(y)<(z)?(y):(z)
+
class Tools
{
class Tools
{