summaryrefslogtreecommitdiff
path: root/src/myspell/htypes.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/myspell/htypes.hxx')
-rw-r--r--src/myspell/htypes.hxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/myspell/htypes.hxx b/src/myspell/htypes.hxx
index bc078c3..80647f9 100644
--- a/src/myspell/htypes.hxx
+++ b/src/myspell/htypes.hxx
@@ -1,8 +1,6 @@
#ifndef _HTYPES_HXX_
#define _HTYPES_HXX_
-#define MAXDELEN 8192
-
#define ROTATE_LEN 5
#define ROTATE(v,q) \
@@ -13,10 +11,8 @@
#define H_OPT_ALIASM (1 << 1)
#define H_OPT_PHON (1 << 2)
+// see also csutil.hxx
#define HENTRY_WORD(h) &(h->word)
-#define HENTRY_DATA(h) (h->var ? ((h->var & H_OPT_ALIASM) ? \
- *((char **) (&(h->word) + h->blen + 1)) : &(h->word) + h->blen + 1) : NULL)
-#define HENTRY_FIND(h,p) (HENTRY_DATA(h) ? strstr(HENTRY_DATA(h), p) : NULL)
// approx. number of user defined words
#define USERWORD 1000