OLD | NEW |
1 /* The author disclaims copyright to this source code. | 1 /* The author disclaims copyright to this source code. |
2 * | 2 * |
3 * This is an SQLite module implementing full-text search. | 3 * This is an SQLite module implementing full-text search. |
4 */ | 4 */ |
5 | 5 |
6 #include <assert.h> | 6 #include <assert.h> |
7 #if !defined(__APPLE__) | 7 #if !defined(__APPLE__) |
8 #include <malloc.h> | 8 #include <malloc.h> |
9 #else | 9 #else |
10 #include <stdlib.h> | 10 #include <stdlib.h> |
(...skipping 1476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1487 return sqlite3_create_module(db, "fulltext", &fulltextModule, 0); | 1487 return sqlite3_create_module(db, "fulltext", &fulltextModule, 0); |
1488 } | 1488 } |
1489 | 1489 |
1490 #if !SQLITE_CORE | 1490 #if !SQLITE_CORE |
1491 int sqlite3_extension_init(sqlite3 *db, char **pzErrMsg, | 1491 int sqlite3_extension_init(sqlite3 *db, char **pzErrMsg, |
1492 const sqlite3_api_routines *pApi){ | 1492 const sqlite3_api_routines *pApi){ |
1493 SQLITE_EXTENSION_INIT2(pApi) | 1493 SQLITE_EXTENSION_INIT2(pApi) |
1494 return fulltext_init(db); | 1494 return fulltext_init(db); |
1495 } | 1495 } |
1496 #endif | 1496 #endif |
OLD | NEW |