|
#ifdef SQLITE_INT64_TYPE typedef SQLITE_INT64_TYPE sqlite_int64; typedef unsigned SQLITE_INT64_TYPE sqlite_uint64; #elif defined(_MSC_VER) || defined(__BORLANDC__) typedef __int64 sqlite_int64; typedef unsigned __int64 sqlite_uint64; #else typedef long long int sqlite_int64; typedef unsigned long long int sqlite_uint64; #endif typedef sqlite_int64 sqlite3_int64; typedef sqlite_uint64 sqlite3_uint64;
因为没有跨平台的制定64位整数类型的方法,所以SQLite包含了对64位有符号和无符号整数的定义。
Because there is no cross-platform way to specify 64-bit integer types
SQLite includes typedefs for 64-bit signed and unsigned integers.
sqlite3_int64 和 sqlite3_uint64是首选的类型定义,sqlite_int64 和 sqlite_uint64类型只是为了支持向后兼容性。
The sqlite3_int64 and sqlite3_uint64 are the preferred type definitions.
The sqlite_int64 and sqlite_uint64 types are supported for backwards
compatibility only.
sqlite3_int64 和 sqlite_int64可以存储-9223372036854775808 和 +9223372036854775807之间(包含)的整数值。sqlite3_uint64 和 sqlite_uint64可以存储0 和 +18446744073709551615之间(包含)的整数值。
The sqlite3_int64 and sqlite_int64 types can store integer values
between -9223372036854775808 and +9223372036854775807 inclusive. The
sqlite3_uint64 and sqlite_uint64 types can store integer values
between 0 and +18446744073709551615 inclusive.
另行参见Objects、Constants和Functions的列表。
See also lists of
Objects,
Constants, and
Functions.