From 3832e048252b3ce6a2da929cfc20b95c0ed23703 Mon Sep 17 00:00:00 2001 From: scottmk Date: Thu, 8 Jan 2009 22:27:18 +0000 Subject: [PATCH] Prepare for #inclusion in C++ git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1611 9efc2488-bf62-4759-914b-345cdb29e865 --- include/opensrf/osrf_utf8.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/opensrf/osrf_utf8.h b/include/opensrf/osrf_utf8.h index db3c3a4..83dd7fb 100644 --- a/include/opensrf/osrf_utf8.h +++ b/include/opensrf/osrf_utf8.h @@ -14,6 +14,10 @@ #ifndef OSRF_UTF8_H #define OSRF_UTF8_H +#ifdef __cplusplus +extern "C" { +#endif + extern unsigned char osrf_utf8_mask_[]; // Lookup table of bitmasks // Meanings of the various bit switches: @@ -54,4 +58,8 @@ int is__utf8( int c ); int buffer_append_utf8( growing_buffer* buf, const char* string ); +#ifdef __cplusplus +} +#endif + #endif -- 2.11.0