diff options
author | drh <drh@noemail.net> | 2012-10-29 14:27:26 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2012-10-29 14:27:26 +0000 |
commit | 6e227bf3e0641c6eace29e5b198f82cf9344ed48 (patch) | |
tree | 6c6d2400c7cc059dfd29ecfe443bbbacdb930900 /src/test_intarray.h | |
parent | ecf42d52d84b9f9930136932a75c6ad5b48ba32a (diff) | |
download | sqlite-6e227bf3e0641c6eace29e5b198f82cf9344ed48.tar.gz sqlite-6e227bf3e0641c6eace29e5b198f82cf9344ed48.zip |
Make the multiplexor and the IntArray extensions callable from C++.
FossilOrigin-Name: cbd8fddf3b4cde840279502e1e9b151bb4bd42f0
Diffstat (limited to 'src/test_intarray.h')
-rw-r--r-- | src/test_intarray.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test_intarray.h b/src/test_intarray.h index e994367c0..691337d1a 100644 --- a/src/test_intarray.h +++ b/src/test_intarray.h @@ -77,6 +77,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 |