Prepare for #inclusion in C++
authorscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 8 Jan 2009 22:27:18 +0000 (22:27 +0000)
committerscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 8 Jan 2009 22:27:18 +0000 (22:27 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1611 9efc2488-bf62-4759-914b-345cdb29e865

include/opensrf/osrf_utf8.h

index db3c3a4..83dd7fb 100644 (file)
 #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