[Opensrf-commits] r1603 - trunk/include/opensrf
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Jan 8 16:25:46 EST 2009
Author: scottmk
Date: 2009-01-08 16:25:42 -0500 (Thu, 08 Jan 2009)
New Revision: 1603
Modified:
trunk/include/opensrf/osrf_json_xml.h
Log:
Prepare for #inclusion in C++
Modified: trunk/include/opensrf/osrf_json_xml.h
===================================================================
--- trunk/include/opensrf/osrf_json_xml.h 2009-01-08 21:18:31 UTC (rev 1602)
+++ trunk/include/opensrf/osrf_json_xml.h 2009-01-08 21:25:42 UTC (rev 1603)
@@ -15,6 +15,9 @@
#include <opensrf/utils.h>
#include <opensrf/osrf_list.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
/**
* Generates an XML representation of a JSON object */
@@ -26,5 +29,9 @@
*/
jsonObject* jsonXMLToJSONObject(const char* xml);
+#ifdef __cplusplus
+}
#endif
+
#endif
+#endif
More information about the opensrf-commits
mailing list