OLD | NEW |
1 /* | 1 /* |
2 ** 2011 April 02 | 2 ** 2011 April 02 |
3 ** | 3 ** |
4 ** The author disclaims copyright to this source code. In place of | 4 ** The author disclaims copyright to this source code. In place of |
5 ** a legal notice, here is a blessing: | 5 ** a legal notice, here is a blessing: |
6 ** | 6 ** |
7 ** May you do good and not evil. | 7 ** May you do good and not evil. |
8 ** May you find forgiveness for yourself and forgive others. | 8 ** May you find forgiveness for yourself and forgive others. |
9 ** May you share freely, never taking more than you give. | 9 ** May you share freely, never taking more than you give. |
10 ** | 10 ** |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 char **pzErrMsg, | 265 char **pzErrMsg, |
266 const sqlite3_api_routines *pApi | 266 const sqlite3_api_routines *pApi |
267 ){ | 267 ){ |
268 int rc = SQLITE_OK; | 268 int rc = SQLITE_OK; |
269 SQLITE_EXTENSION_INIT2(pApi); | 269 SQLITE_EXTENSION_INIT2(pApi); |
270 #ifndef SQLITE_OMIT_VIRTUALTABLE | 270 #ifndef SQLITE_OMIT_VIRTUALTABLE |
271 rc = sqlite3_create_module(db, "wholenumber", &wholenumberModule, 0); | 271 rc = sqlite3_create_module(db, "wholenumber", &wholenumberModule, 0); |
272 #endif | 272 #endif |
273 return rc; | 273 return rc; |
274 } | 274 } |
OLD | NEW |