1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Make the multiplexor and the IntArray extensions callable from C++.

FossilOrigin-Name: cbd8fddf3b4cde840279502e1e9b151bb4bd42f0
This commit is contained in:
drh
2012-10-29 14:27:26 +00:00
parent ecf42d52d8
commit 6e227bf3e0
4 changed files with 28 additions and 9 deletions

View File

@@ -76,6 +76,13 @@
*/
#include "sqlite3.h"
/*
** Make sure we can call this stuff from C++.
*/
#ifdef __cplusplus
extern "C" {
#endif
/*
** An sqlite3_intarray is an abstract type to stores an instance of
** an integer array.
@@ -112,3 +119,7 @@ int sqlite3_intarray_bind(
sqlite3_int64 *aElements, /* Content of the intarray */
void (*xFree)(void*) /* How to dispose of the intarray when done */
);
#ifdef __cplusplus
} /* End of the 'extern "C"' block */
#endif