[Opensrf-commits] r1611 - trunk/include/opensrf

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Jan 8 17:27:23 EST 2009


Author: scottmk
Date: 2009-01-08 17:27:18 -0500 (Thu, 08 Jan 2009)
New Revision: 1611

Modified:
   trunk/include/opensrf/osrf_utf8.h
Log:
Prepare for #inclusion in C++


Modified: trunk/include/opensrf/osrf_utf8.h
===================================================================
--- trunk/include/opensrf/osrf_utf8.h	2009-01-08 22:18:16 UTC (rev 1610)
+++ trunk/include/opensrf/osrf_utf8.h	2009-01-08 22:27:18 UTC (rev 1611)
@@ -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 buffer_append_utf8( growing_buffer* buf, const char* string );
 
+#ifdef __cplusplus
+}
 #endif
+
+#endif



More information about the opensrf-commits mailing list