Small, Fast, Reliable.
Choose any three.

SQLite C Interface

64-Bit Integer Types

#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;

Some compilers do not support the "long long" datatype. So we have to do compiler-specific typedefs for 64-bit signed and unsigned integers.

Many SQLite interface functions require a 64-bit integer arguments. Those interfaces are declared using this typedef.

See also lists of Objects, Constants, and Functions.


This page last modified 2007/11/22 00:41:31 UTC