OLD | NEW |
1 /* | 1 /* |
2 ** 2013-04-17 | 2 ** 2013-04-17 |
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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 SQLITE_EXTENSION_INIT2(pApi); | 122 SQLITE_EXTENSION_INIT2(pApi); |
123 (void)pzErrMsg; /* Unused parameter */ | 123 (void)pzErrMsg; /* Unused parameter */ |
124 rc = sqlite3_create_function(db, "ieee754", 1, SQLITE_UTF8, 0, | 124 rc = sqlite3_create_function(db, "ieee754", 1, SQLITE_UTF8, 0, |
125 ieee754func, 0, 0); | 125 ieee754func, 0, 0); |
126 if( rc==SQLITE_OK ){ | 126 if( rc==SQLITE_OK ){ |
127 rc = sqlite3_create_function(db, "ieee754", 2, SQLITE_UTF8, 0, | 127 rc = sqlite3_create_function(db, "ieee754", 2, SQLITE_UTF8, 0, |
128 ieee754func, 0, 0); | 128 ieee754func, 0, 0); |
129 } | 129 } |
130 return rc; | 130 return rc; |
131 } | 131 } |
OLD | NEW |