| OLD | NEW |
| 1 /* | 1 /* |
| 2 ** 2013-05-15 | 2 ** 2013-05-15 |
| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 int rc = SQLITE_OK; | 105 int rc = SQLITE_OK; |
| 106 SQLITE_EXTENSION_INIT2(pApi); | 106 SQLITE_EXTENSION_INIT2(pApi); |
| 107 (void)pzErrMsg; /* Unused parameter */ | 107 (void)pzErrMsg; /* Unused parameter */ |
| 108 rc = sqlite3_create_function(db, "rot13", 1, SQLITE_UTF8, 0, | 108 rc = sqlite3_create_function(db, "rot13", 1, SQLITE_UTF8, 0, |
| 109 rot13func, 0, 0); | 109 rot13func, 0, 0); |
| 110 if( rc==SQLITE_OK ){ | 110 if( rc==SQLITE_OK ){ |
| 111 rc = sqlite3_create_collation(db, "rot13", SQLITE_UTF8, 0, rot13CollFunc); | 111 rc = sqlite3_create_collation(db, "rot13", SQLITE_UTF8, 0, rot13CollFunc); |
| 112 } | 112 } |
| 113 return rc; | 113 return rc; |
| 114 } | 114 } |
| OLD | NEW |