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

Side by Side Diff: third_party/hunspell/src/hunspell/replist.hxx

Issue 2239005: Merges our hunspell change to hunspell 1.2.10.... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/deps/
Patch Set: '' Created 10 years, 6 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 unified diff | Download patch
OLDNEW
1 /* string replacement list class */ 1 /* string replacement list class */
2 #ifndef _REPLIST_HXX_ 2 #ifndef _REPLIST_HXX_
3 #define _REPLIST_HXX_ 3 #define _REPLIST_HXX_
4 4
5 #ifdef HUNSPELL_CHROME_CLIENT
6 // Compilation issues in spellchecker.cc think near is a macro, therefore
7 // removing it here solves that problem.
8 #undef near
9 #endif
10
5 #include "hunvisapi.h" 11 #include "hunvisapi.h"
6 12
7 #include "w_char.hxx" 13 #include "w_char.hxx"
8 14
9 class LIBHUNSPELL_DLL_EXPORTED RepList 15 class LIBHUNSPELL_DLL_EXPORTED RepList
10 { 16 {
11 protected: 17 protected:
12 replentry ** dat; 18 replentry ** dat;
13 int size; 19 int size;
14 int pos; 20 int pos;
15 21
16 public: 22 public:
17 RepList(int n); 23 RepList(int n);
18 ~RepList(); 24 ~RepList();
19 25
20 int get_pos(); 26 int get_pos();
21 int add(char * pat1, char * pat2); 27 int add(char * pat1, char * pat2);
22 replentry * item(int n); 28 replentry * item(int n);
23 int near(const char * word); 29 int near(const char * word);
24 int match(const char * word, int n); 30 int match(const char * word, int n);
25 int conv(const char * word, char * dest); 31 int conv(const char * word, char * dest);
26 }; 32 };
27 #endif 33 #endif
OLDNEW
« no previous file with comments | « third_party/hunspell/src/hunspell/license.hunspell ('k') | third_party/hunspell/src/hunspell/suggestmgr.cxx » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698