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 features provide the same information as the SQLITE_VERSION and SQLITE_VERSION_NUMBER #defines in the header, but are associated with the library instead of the header file. Cautious programmers might include a check in their application to verify that sqlite3_libversion_number() always returns the value SQLITE_VERSION_NUMBER.

The sqlite3_libversion() function returns the same information as is in the sqlite3_version[] string constant. The function is provided for use in DLLs since DLL users usually do not have direct access to string constants within the DLL.

Requirements: H10021 H10022 H10023

See also lists of Objects, Constants, and Functions.


This page last modified 2009/07/31 12:35:28 UTC