diff options
Diffstat (limited to 'lang/sql/sqlite/src/test_intarray.h')
-rw-r--r-- | lang/sql/sqlite/src/test_intarray.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/sql/sqlite/src/test_intarray.h b/lang/sql/sqlite/src/test_intarray.h index e994367c..6d26235a 100644 --- a/lang/sql/sqlite/src/test_intarray.h +++ b/lang/sql/sqlite/src/test_intarray.h @@ -75,6 +75,15 @@ ** action to free the intarray objects. */ #include "sqlite3.h" +#ifndef _INTARRAY_H_ +#define _INTARRAY_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 @@ -112,3 +121,8 @@ 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 +#endif /* _INTARRAY_H_ */ |