From b970c672676751ce4a648d7c17b0f864d2267026 Mon Sep 17 00:00:00 2001 From: scottmk Date: Thu, 8 Jan 2009 20:44:50 +0000 Subject: [PATCH] Prepare for #inclusion in C++ git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1599 9efc2488-bf62-4759-914b-345cdb29e865 --- include/opensrf/osrf_big_list.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/opensrf/osrf_big_list.h b/include/opensrf/osrf_big_list.h index ebe3da7..91af59b 100644 --- a/include/opensrf/osrf_big_list.h +++ b/include/opensrf/osrf_big_list.h @@ -1,11 +1,14 @@ #ifndef OSRF_BIG_LIST_H #define OSRF_BIG_LIST_H - #include #include #include +#ifdef __cplusplus +extern "C" { +#endif + /** Items are stored as void*'s so it's up to the user to manage the data wisely. Also, if the 'freeItem' callback is defined for the list, @@ -138,5 +141,8 @@ void osrfBigListVanillaFree( void* item ); */ void osrfBigListSetDefaultFree( osrfBigList* list ); +#ifdef __cplusplus +} +#endif #endif -- 2.11.0