/ Check-in [e4d1b117]
Login

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

Overview
Comment:Add conditional 'extern "C"' block to sqlite3async.h. Ticket #3866. (CVS 6662)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: e4d1b117c90dca341bfa74291c7dfc2afca38cc6
User & Date: danielk1977 2009-05-21 04:42:19
Context
2009-05-21
14:51
In the CLI, always "dump" the sqlite_sequence table last. Ticket #3867 (CVS 6663) check-in: a0028d48 user: drh tags: trunk
04:42
Add conditional 'extern "C"' block to sqlite3async.h. Ticket #3866. (CVS 6662) check-in: e4d1b117 user: danielk1977 tags: trunk
2009-05-20
20:10
Fix a memory leak that occurs when an out-of-memory error occurs while preparing a statement that has multiple virtual table updates within triggers. Other virtual table changes to support full-coverage testing. (CVS 6661) check-in: 02b77a58 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to ext/async/sqlite3async.h.

     1      1   
     2      2   #ifndef __SQLITEASYNC_H_
     3      3   #define __SQLITEASYNC_H_ 1
     4      4   
            5  +/*
            6  +** Make sure we can call this stuff from C++.
            7  +*/
            8  +#ifdef __cplusplus
            9  +extern "C" {
           10  +#endif
           11  +
     5     12   #define SQLITEASYNC_VFSNAME "sqlite3async"
     6     13   
     7     14   /*
     8     15   ** THREAD SAFETY NOTES:
     9     16   **
    10     17   ** Of the four API functions in this file, the following are not threadsafe:
    11     18   **
................................................................................
   205    212   ** If the first argument to sqlite3async_control() is SQLITEASYNC_HALT,
   206    213   ** the second argument should be one of the following.
   207    214   */
   208    215   #define SQLITEASYNC_HALT_NEVER 0       /* Never halt (default value) */
   209    216   #define SQLITEASYNC_HALT_NOW   1       /* Halt as soon as possible */
   210    217   #define SQLITEASYNC_HALT_IDLE  2       /* Halt when write-queue is empty */
   211    218   
          219  +#ifdef __cplusplus
          220  +}  /* End of the 'extern "C"' block */
          221  +#endif
   212    222   #endif        /* ifndef __SQLITEASYNC_H_ */
   213    223