/ Check-in [47a2ce97]
Login

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

Overview
Comment:Add the missing 'extern "C" {...}' blocks to fts5.h and sqlite3rbu.h.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:47a2ce97d585e1760ffcf760c0de1753677d5713
User & Date: dan 2015-10-14 10:56:34
Context
2015-10-14
12:29
Version 3.9.0 check-in: a721fc0d user: drh tags: trunk, release, version-3.9.0
10:56
Add the missing 'extern "C" {...}' blocks to fts5.h and sqlite3rbu.h. check-in: 47a2ce97 user: dan tags: trunk
2015-10-12
22:31
Remove the unused fts5ExprColsetTest() routine. check-in: 9ecafc0c user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to ext/fts5/fts5.h.

    18     18   */
    19     19   
    20     20   
    21     21   #ifndef _FTS5_H
    22     22   #define _FTS5_H
    23     23   
    24     24   #include "sqlite3.h"
           25  +
           26  +#ifdef __cplusplus
           27  +extern "C" {
           28  +#endif
    25     29   
    26     30   /*************************************************************************
    27     31   ** CUSTOM AUXILIARY FUNCTIONS
    28     32   **
    29     33   ** Virtual table implementations may overload SQL functions by implementing
    30     34   ** the sqlite3_module.xFindFunction() method.
    31     35   */
................................................................................
   503    507       void (*xDestroy)(void*)
   504    508     );
   505    509   };
   506    510   
   507    511   /*
   508    512   ** END OF REGISTRATION API
   509    513   *************************************************************************/
          514  +
          515  +#ifdef __cplusplus
          516  +}  /* end of the 'extern "C"' block */
          517  +#endif
   510    518   
   511    519   #endif /* _FTS5_H */
   512    520   

Changes to ext/rbu/sqlite3rbu.h.

   264    264   ** the suspended RBU update is also an error (SQLITE_BUSY).
   265    265   */
   266    266   
   267    267   #ifndef _SQLITE3RBU_H
   268    268   #define _SQLITE3RBU_H
   269    269   
   270    270   #include "sqlite3.h"              /* Required for error code definitions */
          271  +
          272  +#ifdef __cplusplus
          273  +extern "C" {
          274  +#endif
   271    275   
   272    276   typedef struct sqlite3rbu sqlite3rbu;
   273    277   
   274    278   /*
   275    279   ** Open an RBU handle.
   276    280   **
   277    281   ** Argument zTarget is the path to the target database. Argument zRbu is
................................................................................
   442    446   ** sqlite3rbu_create_vfs().
   443    447   **
   444    448   ** VFS objects are not reference counted. If a VFS object is destroyed
   445    449   ** before all database handles that use it have been closed, the results
   446    450   ** are undefined.
   447    451   */
   448    452   void sqlite3rbu_destroy_vfs(const char *zName);
          453  +
          454  +#ifdef __cplusplus
          455  +}  /* end of the 'extern "C"' block */
          456  +#endif
   449    457   
   450    458   #endif /* _SQLITE3RBU_H */