Sq3Lite PACKAGE - get version information … More...
Functions | |
static MK_STRN | Sq3Libversion (void) |
Run-Time Library Version Numbers … | |
static enum MkErrorE | Sq3LibversionNumber (void) |
Run-Time Library Version Numbers … | |
static MK_STRN | Sq3Sourceid (void) |
Run-Time Library Version Numbers … | |
Sq3Lite - Sq3Lite_Version_C_API - function | |
MK_STRN | Sq3LibversionP (void) |
Non-inline replacement for Sq3Libversion … | |
enum MkErrorE | Sq3LibversionNumberP (void) |
Non-inline replacement for Sq3LibversionNumber … | |
MK_STRN | Sq3SourceidP (void) |
Non-inline replacement for Sq3Sourceid … | |
Sq3Lite - Sq3Lite_Version_C_API - overload | |
#define | Sq3LibversionNumber_E(...) |
#define | Sq3LibversionNumber_C(...) |
Sq3Lite PACKAGE - get version information …
#define Sq3LibversionNumber_C | ( | ... | ) |
Definition at line 309 of file sqlite3_overload_sq3.h.
#define Sq3LibversionNumber_E | ( | ... | ) |
Definition at line 308 of file sqlite3_overload_sq3.h.
|
inlinestatic |
Run-Time Library Version Numbers …
These interfaces provide the same information as the SQLITE_VERSION, SQLITE_VERSION_NUMBER, and SQLITE_SOURCE_ID C preprocessor macros but are associated with the library instead of the header file. Cautious programmers might include assert() statements in their application to verify that values returned by these interfaces match the macros in the header, and thus ensure that the application is compiled with matching library and header files.
assert( sqlite3_libversion_number()==SQLITE_VERSION_NUMBER ); assert( strncmp(sqlite3_sourceid(),SQLITE_SOURCE_ID,80)==0 ); assert( strcmp(sqlite3_libversion(),SQLITE_VERSION)==0 );
The sqlite3_version[] string constant contains the text of SQLITE_VERSION macro. The Sq3Libversion() function returns a pointer to the to the sqlite3_version[] string constant. The Sq3Libversion() function is provided for use in DLLs since DLL users usually do not have direct access to string constants within the DLL. The Sq3LibversionNumber() function returns an integer equal to SQLITE_VERSION_NUMBER. The Sq3Sourceid() function returns a pointer to a string constant whose value is the same as the SQLITE_SOURCE_ID C preprocessor macro. Except if SQLite is built using an edited copy of the amalgamation, then the last four characters of the hash might be different from SQLITE_SOURCE_ID.
See also: sqlite_version () and sqlite_source_id ().
Reference code from sqlite3:
Definition at line 890 of file LibSq3Lite_sq3.h.
|
inlinestatic |
Run-Time Library Version Numbers …
Definition at line 896 of file LibSq3Lite_sq3.h.
enum MkErrorE Sq3LibversionNumberP | ( | void | ) |
Non-inline replacement for Sq3LibversionNumber …
MK_STRN Sq3LibversionP | ( | void | ) |
Non-inline replacement for Sq3Libversion …
|
inlinestatic |
Run-Time Library Version Numbers …
Definition at line 905 of file LibSq3Lite_sq3.h.
MK_STRN Sq3SourceidP | ( | void | ) |
Non-inline replacement for Sq3Sourceid …