OLD | NEW |
1 /* | 1 /* |
2 ** The author disclaims copyright to this source code. | 2 ** The author disclaims copyright to this source code. |
3 ** | 3 ** |
4 ************************************************************************* | 4 ************************************************************************* |
5 ** Implementation of the "simple" full-text-search tokenizer. | 5 ** Implementation of the "simple" full-text-search tokenizer. |
6 */ | 6 */ |
7 | 7 |
8 #include <assert.h> | 8 #include <assert.h> |
9 #if !defined(__APPLE__) | 9 #if !defined(__APPLE__) |
10 #include <malloc.h> | 10 #include <malloc.h> |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 simpleOpen, | 165 simpleOpen, |
166 simpleClose, | 166 simpleClose, |
167 simpleNext, | 167 simpleNext, |
168 }; | 168 }; |
169 | 169 |
170 void get_simple_tokenizer_module( | 170 void get_simple_tokenizer_module( |
171 sqlite3_tokenizer_module **ppModule | 171 sqlite3_tokenizer_module **ppModule |
172 ){ | 172 ){ |
173 *ppModule = &simpleTokenizerModule; | 173 *ppModule = &simpleTokenizerModule; |
174 } | 174 } |
OLD | NEW |