AD

SQLITE Source Analysis (7)

Disclaimer: The SQLite source code analysis series Xing (**deepfuture.javaeye**/) original, without author authorization, any human institution can not be reproduced

** ^ The sqlite3_version [] string constant contains the text of [SQLITE_VERSION]

** Macro. ^ The sqlite3_libversion () function returns a pointer to the

** To the sqlite3_version [] string constant. The sqlite3_libversion ()

** Function is provided for use in DLLs since DLL users usually do not have

** Direct access to string constants within the DLL. ^ The

** Sqlite3_libversion_number () function returns an integer equal to

** [SQLITE_VERSION_NUMBER]. ^ The sqlite3_sourceid () function returns

** A pointer to a string constant whose value is the same as the

** [SQLITE_SOURCE_ID] C preprocessor macro.

**

** See also: [sqlite_version ()] and [sqlite_source_id ()].

* /

SQLITE_API const char sqlite3_version [] = SQLITE_VERSION;

SQLITE_API const char * sqlite3_libversion (void);

SQLITE_API const char * sqlite3_sourceid (void);

SQLITE_API int sqlite3_libversion_number (void);

/ / SQLITE_VERSION macro defines the version number, in the source package is defined as "3.6.23.1"

/ / Sqlite3_version [] for the previous macro definition SQLITE_VERSION content, that is the version number

/ / Sqlite3_libversion () returns point to sqlite3_version [] character array pointer constant

/ / Sqlite3_sourceid () returns a pointer to point SQLITE_SOURCE_ID macro content

/ / Sqlite3_libversion_number () returns the version number of the macro definition SQLITE_VERSION_NUMBER

# Ifndef SQLITE_OMIT_COMPILEOPTION_DIAGS

/ *

** CAPI3REF: Run-Time Library Compilation Options Diagnostics

**

** ^ The sqlite3_compileoption_used () function returns 0 or 1

** Indicating whether the specified option was defined at

** Compile time. ^ The SQLITE_ prefix may be omitted from the

** Option name passed to sqlite3_compileoption_used ().

** Sqlite3_compileoption_used () returns 0 and 1, indicating whether the definition of compile-time options

** ^ The sqlite3_compileoption_get () function allows interating

** Over the list of options that were defined at compile time by

** Returning the N-th compile time option string. ^ If N is out of range,

** Sqlite3_compileoption_get () allows the definition of being at work when compiling a list of options,

** N times back to a string at compile time option

** Sqlite3_compileoption_get () returns a NULL pointer. ^ The SQLITE_

** Prefix is omitted from any strings returned by

** Sqlite3_compileoption_get ().

** If N out of bounds, sqlite3_compileoption_get () returns NULL pointer

** ^ Support for the diagnostic functions sqlite3_compileoption_used ()

** And sqlite3_compileoption_get () may be omitted by specifing the

** [SQLITE_OMIT_COMPILEOPTION_DIAGS] option at compile time.

** Definition of SQLITE_OMIT_COMPILEOPTION_DIAGS compile time option, to ignore sqlite3_compileoption_used () and sqlite3_compileoption_get () This two diagnostic function

** See also: SQL functions [sqlite_compileoption_used ()] and

** [Sqlite_compileoption_get ()] and the [compile_options pragma].

* /

SQLITE_API int sqlite3_compileoption_used (const char * zOptName);

SQLITE_API const char * sqlite3_compileoption_get (int N);

# Endif / * SQLITE_OMIT_COMPILEOPTION_DIAGS * /
标签: source code analysis, prefix, direct access, ifndef, constants, dlls, source package, string constant, source analysis, character array, run time library, source id, option name, macro definition, c preprocessor, array pointer, human institution, version string, preprocessor macro, compilation options
分类: Database
时间: 2010-08-21

相关文章

  1. SQLITE Source Analysis (3)

    Disclaimer: The SQLite source code analysis series Xing (http://deepfuture.javaeye.com/) original, without aut ...
  2. SQLITE Source Analysis (5)

    Disclaimer: The SQLite source code analysis series Xing (http://deepfuture.javaeye.com/) original, without aut ...
  3. SQLITE Source Analysis (8)

    Disclaimer: The SQLite source code analysis series Xing (http://deepfuture.javaeye.com/) original, without aut ...
  4. SQLITE Source Analysis (9)

    / * Disclaimer: The SQLite source code analysis series Xing (http://deepfuture.javaeye.com/) original, without ...
  5. SQLITE Source Analysis (10)

    Disclaimer: The SQLite source code analysis series Xing (http://deepfuture.javaeye.com/) original, without aut ...
  6. SQLITE Source Analysis (11)

    Disclaimer: The SQLite source code analysis series Xing (http://deepfuture.javaeye.com/) original, without aut ...
  7. SQLITE Source Analysis (12)

    Disclaimer: The SQLite source code analysis series Xing (http://deepfuture.javaeye.com/) original, without aut ...
  8. SQLITE Source Analysis (13)

    Disclaimer: The SQLite source code analysis series Xing (http://deepfuture.javaeye.com/) original, without aut ...
  9. SQLITE Source Analysis (14)

    Disclaimer: The SQLite source code analysis series Xing (http://deepfuture.javaeye.com/) original, without aut ...
  10. SQLITE source analysis (16)

    Disclaimer: The SQLite source code analysis series LIU Xing (http://deepfuture.javaeye.com/) original, without ...
  11. SQLITE source analysis (17)

    <! - StartFragment -> / * Disclaimer: The SQLite source code analysis series LIU Xing (http://deepfuture ...
  12. SQLITE source analysis (15)

    Statement: The SQLite source code analysis series Xing (http://deepfuture.iteye.com/) original, without my aut ...
  13. SQLite source code download

    Disclaimer: This SQLITE Source Analysis series Xing (http://deepfuture.javaeye.com/) original, without author ...
  14. SQLite source code analysis (1)

    Disclaimer: The SQLite source code analysis series Xing ( http://deepfuture.javaeye.com/) original, without au ...
  15. sqlite source code analysis (2)

    Disclaimer: The SQLite source code analysis series Xing (http://deepfuture.javaeye.com/) original, without aut ...
  16. SQLite source code analysis (6)

    / * ** Add the ability to override 'extern' * / / / Extern macro definitions can be used to complete the exter ...
  17. sqlite source code analysis (18)

    Disclaimer: The SQLite source code analysis series LIU Xing (http://deepfuture.javaeye.com/) original, without ...
  18. Struts1 Source analysis - international resource file

    Struts1 Source analysis - international resource file 1. URL class diagram 2. Description a) Struts resources ...
  19. HashMap source analysis

    HashMap source analysis public class HashMap<K,V> extends AbstractMap<K,V> implements Map<K,V&g ...