From: scottmk Date: Thu, 8 Jan 2009 21:34:17 +0000 (+0000) Subject: Prepare for #inclusion in C++ X-Git-Tag: osrf_rel_2_0_1~440 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=fe2a0e3703735ac10ba7d7a57b5d09fe318f0b40;p=OpenSRF.git Prepare for #inclusion in C++ git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1604 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/include/opensrf/osrf_legacy_json.h b/include/opensrf/osrf_legacy_json.h index a74fb1f..caa874e 100644 --- a/include/opensrf/osrf_legacy_json.h +++ b/include/opensrf/osrf_legacy_json.h @@ -25,9 +25,11 @@ GNU General Public License for more details. #include #include +#ifdef __cplusplus +extern "C" { +#endif - -/* Parses the given JSON string and returns the built object. +/* Parses the given JSON string and returns the built object. * returns NULL (and prints parser error to stderr) on error. */ @@ -123,6 +125,9 @@ jsonObjectNode* jsonObjectIteratorNext(jsonObjectIterator* iter); */ int jsonObjectIteratorHasNext(const jsonObjectIterator* iter); +#ifdef __cplusplus +} +#endif #endif