/ Check-in [97ab1efe]
Login

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

Overview
Comment:Add an 'extern "C"' wrapper to sqlite3_private.h.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | apple-osx
Files: files | file ages | folders
SHA3-256:97ab1efe4ef2c368949d07dd77af3982523685d6ae3837befb0dd442b30190a2
User & Date: dan 2017-11-17 20:16:58
Context
2017-11-17
20:22
Add missing entry for SQLITE_IOERR_VNODE to the switch statement in sqlite3ErrName(). check-in: e2b3e335 user: dan tags: apple-osx
20:16
Add an 'extern "C"' wrapper to sqlite3_private.h. check-in: 97ab1efe user: dan tags: apple-osx
20:10
Merge test script fixes from trunk into this branch. check-in: 32f5f461 user: dan tags: apple-osx
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/sqlite3_private.h.

     1      1   /*
     2      2    *  sqlite3_private.h
     3      3    */
     4      4   
     5      5   #ifndef _SQLITE3_PRIVATE_H
     6      6   #define _SQLITE3_PRIVATE_H
            7  +
            8  +#ifdef __cplusplus
            9  +extern "C" {
           10  +#endif
     7     11   
     8     12   #define SQLITE_LOCKSTATE_OFF    0
     9     13   #define SQLITE_LOCKSTATE_ON     1
    10     14   #define SQLITE_LOCKSTATE_NOTADB 2
    11     15   #define SQLITE_LOCKSTATE_ERROR  -1
    12     16   
    13     17   #define SQLITE_LOCKSTATE_ANYPID -1
................................................................................
    66     70   ** Pass the SQLITE_REPLACE_DATABASE operation code to sqlite3_file_control()
    67     71   ** and a sqlite3 pointer to another open database file to safely copy the 
    68     72   ** contents of that database file into the receiving database.
    69     73   */
    70     74   #define SQLITE_FCNTL_REPLACE_DATABASE       102
    71     75   #define SQLITE_REPLACE_DATABASE             SQLITE_FCNTL_REPLACE_DATABASE
    72     76   
           77  +#ifdef __cplusplus
           78  +}  /* End of the 'extern "C"' block */
           79  +#endif
    73     80   #endif