OLD | NEW |
1 /* | 1 /* |
2 ** 2004 April 6 | 2 ** 2004 April 6 |
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 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
634 StrAccum errMsg; /* Accumulate the error message text here */ | 634 StrAccum errMsg; /* Accumulate the error message text here */ |
635 }; | 635 }; |
636 | 636 |
637 /* | 637 /* |
638 ** Read or write a two- and four-byte big-endian integer values. | 638 ** Read or write a two- and four-byte big-endian integer values. |
639 */ | 639 */ |
640 #define get2byte(x) ((x)[0]<<8 | (x)[1]) | 640 #define get2byte(x) ((x)[0]<<8 | (x)[1]) |
641 #define put2byte(p,v) ((p)[0] = (u8)((v)>>8), (p)[1] = (u8)(v)) | 641 #define put2byte(p,v) ((p)[0] = (u8)((v)>>8), (p)[1] = (u8)(v)) |
642 #define get4byte sqlite3Get4byte | 642 #define get4byte sqlite3Get4byte |
643 #define put4byte sqlite3Put4byte | 643 #define put4byte sqlite3Put4byte |
OLD | NEW |