Changeset 13715
- Timestamp:
- 2007-01-22T16:23:51+13:00 (17 years ago)
- Location:
- trunk/indexers/mgpp/text
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/indexers/mgpp/text/ivf.pass1.cpp
r9613 r13715 276 276 UCArray word; 277 277 278 if (!inaword (textHere, textEnd))278 if (!inaword_mgpp (textHere, textEnd)) 279 279 ParseNonindexWord (textHere, textEnd); 280 280 -
trunk/indexers/mgpp/text/ivf.pass2.cpp
r9613 r13715 808 808 unsigned char mgWord[MAXSTEMLEN + 1]; 809 809 810 if (!inaword (textHere, textEnd))810 if (!inaword_mgpp (textHere, textEnd)) 811 811 ParseNonindexWord (textHere, textEnd); 812 812 -
trunk/indexers/mgpp/text/words.cpp
r12321 r13715 32 32 whether a given place in a UTF-8 encoded Unicode string 33 33 is part of a word. */ 34 int inaword (const u_char *here, const u_char *end) {34 int inaword_mgpp (const u_char *here, const u_char *end) { 35 35 unsigned short c; 36 36 if (parse_utf8_char(here, end, &c) > 0) return is_unicode_letdig (c); … … 39 39 40 40 /* It determines whether a given place in a UTF-8 encoded Unicode string is a unicode space. */ 41 int isaspace (const u_char *here, const u_char *end)41 int isaspace_mgpp (const u_char *here, const u_char *end) 42 42 { 43 43 unsigned short c; … … 48 48 /* Return a the UTF-8 encoded Unicode string with begining 49 49 unicode spaces skippend. */ 50 u_char *skipspace (u_char *here, u_char *end)50 u_char *skipspace_mgpp(u_char *here, u_char *end) 51 51 { 52 52 unsigned short c; -
trunk/indexers/mgpp/text/words.h
r12321 r13715 83 83 extern "C" { 84 84 #endif 85 int inaword (const u_char *here, const u_char *end);85 int inaword_mgpp (const u_char *here, const u_char *end); 86 86 /* Takes the place of the old INAWORD macro. It determines 87 87 whether a given place in a UTF-8 encoded Unicode string 88 88 is part of a word. */ 89 89 90 int isaspace (const u_char *here, const u_char *end);90 int isaspace_mgpp (const u_char *here, const u_char *end); 91 91 /* It determines whether a given place in a UTF-8 encoded Unicode string is a unicode space. */ 92 92 93 u_char *skipspace (u_char *here, u_char *end);93 u_char *skipspace_mgpp(u_char *here, u_char *end); 94 94 /* Return a the UTF-8 encoded Unicode string with begining unicode spaces skippend. */ 95 95
Note:
See TracChangeset
for help on using the changeset viewer.