4 #ifndef HUNSPELL_WARNING
6 #ifdef HUNSPELL_WARNING_ON
7 #define HUNSPELL_WARNING fprintf
9 // empty inline function to switch off warnings (instead of the C99 standard variadic macros)
10 static inline void HUNSPELL_WARNING(FILE *, const char *, ...) {}
17 #include "hashmgr.hxx"
21 #define CONTSIZE 65536
22 #define MAXWORDLEN 100
23 #define MAXWORDUTF8LEN 256
26 #define aeXPRODUCT (1 << 0)
27 #define aeUTF8 (1 << 1)
28 #define aeALIASF (1 << 2)
29 #define aeALIASM (1 << 3)
30 #define aeLONGCOND (1 << 4)
34 #define IN_CPD_BEGIN 1
36 #define IN_CPD_OTHER 3
39 #define SPELL_COMPOUND (1 << 0)
40 #define SPELL_FORBIDDEN (1 << 1)
41 #define SPELL_ALLCAP (1 << 2)
42 #define SPELL_NOCAP (1 << 3)
43 #define SPELL_INITCAP (1 << 4)
44 #define SPELL_ORIGCAP (1 << 5)
45 #define SPELL_WARN (1 << 6)
50 #define MAXCOMPOUND 10
52 #define MAXCONDLEN_1 (MAXCONDLEN - sizeof(char *))
56 #define FLAG unsigned short
57 #define FLAG_NULL 0x00
58 #define FREE_FLAG(a) a = 0
60 #define TESTAFF( a, b , c ) flag_bsearch((unsigned short *) a, (unsigned short) b, c)
71 unsigned short * contclass
;
74 char conds
[MAXCONDLEN
];
76 char conds1
[MAXCONDLEN_1
];