[Opensrf-commits] r1601 - trunk/include/opensrf

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Jan 8 16:11:32 EST 2009


Author: scottmk
Date: 2009-01-08 16:11:28 -0500 (Thu, 08 Jan 2009)
New Revision: 1601

Modified:
   trunk/include/opensrf/osrf_hash.h
Log:
Prepare for #inclusion in C++


Modified: trunk/include/opensrf/osrf_hash.h
===================================================================
--- trunk/include/opensrf/osrf_hash.h	2009-01-08 20:57:55 UTC (rev 1600)
+++ trunk/include/opensrf/osrf_hash.h	2009-01-08 21:11:28 UTC (rev 1601)
@@ -5,6 +5,10 @@
 #include <opensrf/string_array.h>
 #include <opensrf/osrf_list.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 struct _osrfHashStruct;
 typedef struct _osrfHashStruct osrfHash;
 
@@ -83,4 +87,8 @@
 
 void osrfHashIteratorReset( osrfHashIterator* itr );
 
+#ifdef __cplusplus
+}
 #endif
+
+#endif



More information about the opensrf-commits mailing list