From: scottmk Date: Thu, 8 Jan 2009 21:25:42 +0000 (+0000) Subject: Prepare for #inclusion in C++ X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d4ce7a2fff4ac27223f0372b7d282178338dcaac;p=opensrf%2Fbjwebb.git Prepare for #inclusion in C++ git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1603 9efc2488-bf62-4759-914b-345cdb29e865 --- 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