theSq3Lite 10.0
Loading...
Searching...
No Matches
Sq3Lite_Version_C_API

Sq3Lite PACKAGE - get version information … More...

+ Collaboration diagram for Sq3Lite_Version_C_API:

Functions

static MK_STRN libsq3lite::Sq3Libversion (void)
 Run-Time Library Version Numbers …
 
static enum MkErrorE libsq3lite::Sq3LibversionNumber (void)
 Run-Time Library Version Numbers …
 
static MK_STRN libsq3lite::Sq3Sourceid (void)
 Run-Time Library Version Numbers …
 

Sq3Lite - Sq3Lite_Version_C_API - overload

#define Sq3LibversionNumber_E(...)
 
#define Sq3LibversionNumber_C(...)
 

Detailed Description

Sq3Lite PACKAGE - get version information …

Macro Definition Documentation

◆ Sq3LibversionNumber_C

#define Sq3LibversionNumber_C ( ...)
Value:
if (MkErrorCheckI(Sq3LibversionNumber(__VA_ARGS__)))

Definition at line 306 of file sqlite3_overload_sq3.h.

◆ Sq3LibversionNumber_E

#define Sq3LibversionNumber_E ( ...)
Value:
MkErrorCheck(Sq3LibversionNumber(__VA_ARGS__))

Definition at line 305 of file sqlite3_overload_sq3.h.

Function Documentation

◆ Sq3Libversion()

static MK_STRN libsq3lite::Sq3Libversion ( void )
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:

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

Definition at line 901 of file LibSq3Lite_sq3.h.

902 {
903 MK_STRN __retVal__L = sqlite3_sourceid();
904 return __retVal__L;
const MK_STRB * MK_STRN
+ Here is the caller graph for this function:

◆ Sq3LibversionNumber()

static enum MkErrorE libsq3lite::Sq3LibversionNumber ( void )
inlinestatic

Run-Time Library Version Numbers …

read more at 'Sq3Libversion'

Definition at line 907 of file LibSq3Lite_sq3.h.

913 {
+ Here is the caller graph for this function:

◆ Sq3Sourceid()

static MK_STRN libsq3lite::Sq3Sourceid ( void )
inlinestatic

Run-Time Library Version Numbers …

read more at 'Sq3Libversion'

Definition at line 916 of file LibSq3Lite_sq3.h.

919 {
+ Here is the caller graph for this function: