From d4ce7a2fff4ac27223f0372b7d282178338dcaac Mon Sep 17 00:00:00 2001 From: scottmk Date: Thu, 8 Jan 2009 21:25:42 +0000 Subject: [PATCH] Prepare for #inclusion in C++ git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1603 9efc2488-bf62-4759-914b-345cdb29e865 --- include/opensrf/osrf_json_xml.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/opensrf/osrf_json_xml.h b/include/opensrf/osrf_json_xml.h index ce06817..926ae37 100644 --- a/include/opensrf/osrf_json_xml.h +++ b/include/opensrf/osrf_json_xml.h @@ -15,6 +15,9 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif /** * Generates an XML representation of a JSON object */ @@ -26,5 +29,9 @@ char* jsonObjectToXML( const jsonObject*); */ jsonObject* jsonXMLToJSONObject(const char* xml); +#ifdef __cplusplus +} +#endif + #endif #endif -- 2.11.0