From 08119c361d1181b3e8f1abb429236e488a664753 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 13 Aug 2013 15:42:54 -0400 Subject: Imported Upstream version 2.2.1 --- src/test_intarray.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/test_intarray.h') diff --git a/src/test_intarray.h b/src/test_intarray.h index e994367..691337d 100644 --- a/src/test_intarray.h +++ b/src/test_intarray.h @@ -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 -- cgit v1.2.3