Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(426)

Unified Diff: third_party/hunspell_new/src/hunspell/htypes.hxx

Issue 1135173004: Rename third_party/hunspell_new back to third_party/hunspell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/hunspell_new/src/hunspell/hashmgr.cxx ('k') | third_party/hunspell_new/src/hunspell/hunspell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/hunspell_new/src/hunspell/htypes.hxx
diff --git a/third_party/hunspell_new/src/hunspell/htypes.hxx b/third_party/hunspell_new/src/hunspell/htypes.hxx
deleted file mode 100644
index 16744fb785524664aade6ac576c9ac2e61f2a7b1..0000000000000000000000000000000000000000
--- a/third_party/hunspell_new/src/hunspell/htypes.hxx
+++ /dev/null
@@ -1,42 +0,0 @@
-#ifndef _HTYPES_HXX_
-#define _HTYPES_HXX_
-
-#ifdef HUNSPELL_CHROME_CLIENT
-// This is a workaround for preventing errors in parsing Turkish BDICs, which
-// contain very long AF lines (~ 12,000 chars).
-// TODO(hbono) change the HashMgr::parse_aliasf() function to be able to parse
-// longer lines than MAXDELEN.
-#define MAXDELEN (8192 * 2)
-#else
-#define MAXDELEN 8192
-#endif // HUNSPELL_CHROME_CLIENT
-
-#define ROTATE_LEN 5
-
-#define ROTATE(v,q) \
- (v) = ((v) << (q)) | (((v) >> (32 - q)) & ((1 << (q))-1));
-
-// hentry options
-#define H_OPT (1 << 0)
-#define H_OPT_ALIASM (1 << 1)
-#define H_OPT_PHON (1 << 2)
-
-// see also csutil.hxx
-#define HENTRY_WORD(h) &(h->word[0])
-
-// approx. number of user defined words
-#define USERWORD 1000
-
-struct hentry
-{
- unsigned char blen; // word length in bytes
- unsigned char clen; // word length in characters (different for UTF-8 enc.)
- short alen; // length of affix flag vector
- unsigned short * astr; // affix flag vector
- struct hentry * next; // next word with same hash code
- struct hentry * next_homonym; // next homonym word (with same hash code)
- char var; // variable fields (only for special pronounciation yet)
- char word[1]; // variable-length word (8-bit or UTF-8 encoding)
-};
-
-#endif
« no previous file with comments | « third_party/hunspell_new/src/hunspell/hashmgr.cxx ('k') | third_party/hunspell_new/src/hunspell/hunspell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698