/ Check-in [145516c9]
Login

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

Overview
Comment:Added prototypes to sqlite.h for sqlite_freemem(), sqlite_libversion() and sqlite_libencoding(). (CVS 424)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:145516c93b1a03231e7d84f7f799a39655d7aa99
User & Date: drh 2002-03-08 02:12:00
Context
2002-03-10
21:21
Bug fix: updates within a transaction would fail if there was existed a temporary table. (CVS 425) check-in: 02cc2d60 user: drh tags: trunk
2002-03-08
02:12
Added prototypes to sqlite.h for sqlite_freemem(), sqlite_libversion() and sqlite_libencoding(). (CVS 424) check-in: 145516c9 user: drh tags: trunk
2002-03-07
02:02
Fix a bug in the sorting of compound selects. (CVS 423) check-in: 0a513235 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.28 2002/02/27 19:50:59 drh Exp $
           15  +** @(#) $Id: sqlite.h.in,v 1.29 2002/03/08 02:12:00 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   ** The version of the SQLite library.
................................................................................
   358    358     char ***resultp,       /* Result written to a char *[]  that this points to */
   359    359     int *nrow,             /* Number of result rows written here */
   360    360     int *ncolumn,          /* Number of result columns written here */
   361    361     char **errmsg,         /* Error msg written here */
   362    362     va_list ap             /* Arguments to the format string */
   363    363   );
   364    364   
          365  +/*
          366  +** Windows systems should call this routine to free memory that
          367  +** is returned in the in the errmsg parameter of sqlite_open() when
          368  +** SQLite is a DLL.  For some reason, it does not work to call free()
          369  +** directly.
          370  +*/
          371  +void sqlite_freemem(void *p);
          372  +
          373  +/*
          374  +** Windows systems need functions to call to return the sqlite_version
          375  +** and sqlite_encoding strings.
          376  +*/
          377  +const char *sqlite_libversion(void);
          378  +const char *sqlite_libencoding(void);
          379  +
   365    380   /*
   366    381   ** A pointer to the following structure is used to communicate with
   367    382   ** the implementations of user-defined functions.
   368    383   */
   369    384   typedef struct sqlite_func sqlite_func;
   370    385   
   371    386   /*