Small, Fast, Reliable.
Choose any three.

SQLite C Interface

Run-Time Library Version Numbers

SQLITE_EXTERN const char sqlite3_version[];
const char *sqlite3_libversion(void);
int sqlite3_libversion_number(void);

These routines return values equivalent to the header constants SQLITE_VERSION and SQLITE_VERSION_NUMBER. The values returned by this routines should only be different from the header values if you compile your program using an sqlite3.h header from a different version of SQLite that the version of the library you link against.

The sqlite3_version string constant contains the text of the SQLITE_VERSION string. The sqlite3_libversion() function returns a poiner to the sqlite3_version string constant. The function is provided for DLL users who can only access functions and not constants within the DLL.

See also lists of Objects, Constants, and Functions.


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