/ Check-in [d50c47b4]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add prototype in sqlite3.h for the sqlite3_libversion() function. (CVS 1910)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: d50c47b4995bd9b58e1293aa6513361cffc6babe
User & Date: drh 2004-08-28 18:21:21
Context
2004-08-29
01:31
Progress toward fixing iproblems with compound selects. (CVS 1911) check-in: 30747859 user: drh tags: trunk
2004-08-28
18:21
Add prototype in sqlite3.h for the sqlite3_libversion() function. (CVS 1910) check-in: d50c47b4 user: drh tags: trunk
18:17
Memory handling fixes and optimizations in the VDBE. Ticket #862. (CVS 1909) check-in: 5f8d2468 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/sqlite.h.in.

     8      8   **    May you find forgiveness for yourself and forgive others.
     9      9   **    May you share freely, never taking more than you give.
    10     10   **
    11     11   *************************************************************************
    12     12   ** This header file defines the interface that the SQLite library
    13     13   ** presents to client programs.
    14     14   **
    15         -** @(#) $Id: sqlite.h.in,v 1.114 2004/08/20 16:02:39 drh Exp $
           15  +** @(#) $Id: sqlite.h.in,v 1.115 2004/08/28 18:21:21 drh Exp $
    16     16   */
    17     17   #ifndef _SQLITE_H_
    18     18   #define _SQLITE_H_
    19     19   #include <stdarg.h>     /* Needed for the definition of va_list */
    20     20   
    21     21   /*
    22     22   ** Make sure we can call this stuff from C++.
................................................................................
    29     29   ** The version of the SQLite library.
    30     30   */
    31     31   #define SQLITE_VERSION         "--VERS--"
    32     32   
    33     33   /*
    34     34   ** The version string is also compiled into the library so that a program
    35     35   ** can check to make sure that the lib*.a file and the *.h file are from
    36         -** the same version.
           36  +** the same version.  The sqlite3_libversion() function returns a pointer
           37  +** to the sqlite3_version variable - useful in DLLs which cannot access
           38  +** global variables.
    37     39   */
    38     40   extern const char sqlite3_version[];
           41  +const char *sqlite3_libversion();
    39     42   
    40     43   /*
    41     44   ** Each open sqlite database is represented by an instance of the
    42     45   ** following opaque structure.
    43     46   */
    44     47   typedef struct sqlite sqlite3;
    45     48