From e78d098c83695a7d938e8378147c21e57cad9c4b Mon Sep 17 00:00:00 2001 From: scottmk Date: Thu, 8 Jan 2009 21:18:31 +0000 Subject: [PATCH] Prepare for #inclusion in C++ git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1602 9efc2488-bf62-4759-914b-345cdb29e865 --- include/opensrf/osrf_json_utils.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/opensrf/osrf_json_utils.h b/include/opensrf/osrf_json_utils.h index 53faefa..5331574 100644 --- a/include/opensrf/osrf_json_utils.h +++ b/include/opensrf/osrf_json_utils.h @@ -16,6 +16,10 @@ GNU General Public License for more details. #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 @@ int _jsonParserHandleNumber( jsonParserContext* ctx ); void _jsonInsertParserItem( jsonInternalParser* p, jsonObject* newo ); +#ifdef __cplusplus +} +#endif + #endif -- 2.43.2