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

The sqlite3_libversion_number() interface returns an integer equal to SQLITE_VERSION_NUMBER. The value returned by this routine should only be different from the header values if the application is compiled using an sqlite3.h header from a different version of SQLite than library. Cautious programmers might include a check in their application to verify that sqlite3_libversion_number() always returns the value SQLITE_VERSION_NUMBER.

The sqlite3_version string constant contains the text of the SQLITE_VERSION string. The sqlite3_libversion() function returns a pointer to the sqlite3_version string constant. The sqlite3_libversion() 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/12/14 14:37:57 UTC