From: scottmk Date: Thu, 8 Jan 2009 22:27:18 +0000 (+0000) Subject: Prepare for #inclusion in C++ X-Git-Tag: osrf_rel_2_0_1~433 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3832e048252b3ce6a2da929cfc20b95c0ed23703;p=OpenSRF.git Prepare for #inclusion in C++ git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1611 9efc2488-bf62-4759-914b-345cdb29e865 --- 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