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

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Jan 8 16:18:35 EST 2009


Author: scottmk
Date: 2009-01-08 16:18:31 -0500 (Thu, 08 Jan 2009)
New Revision: 1602

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


Modified: trunk/include/opensrf/osrf_json_utils.h
===================================================================
--- trunk/include/opensrf/osrf_json_utils.h	2009-01-08 21:11:28 UTC (rev 1601)
+++ trunk/include/opensrf/osrf_json_utils.h	2009-01-08 21:18:31 UTC (rev 1602)
@@ -16,6 +16,10 @@
 #ifndef OSRF_JSON_UTILS_H
 #define OSRF_JSON_UTILS_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* ----------------------------------------------------------------------- */
 /* Clients need not include this file.  These are internal utilities only	*/
 /* ----------------------------------------------------------------------- */
@@ -96,5 +100,9 @@
 
 void _jsonInsertParserItem( jsonInternalParser* p, jsonObject* newo );
 
+#ifdef __cplusplus
+}
 #endif
 
+#endif
+



More information about the opensrf-commits mailing list