summaryrefslogtreecommitdiff
path: root/lib/unilbrk/ulc-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unilbrk/ulc-common.h')
-rw-r--r--lib/unilbrk/ulc-common.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/unilbrk/ulc-common.h b/lib/unilbrk/ulc-common.h
index d2d9f2ec..a3f713d9 100644
--- a/lib/unilbrk/ulc-common.h
+++ b/lib/unilbrk/ulc-common.h
@@ -28,6 +28,11 @@
#include "c-ctype.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
#define is_utf8_encoding unilbrk_is_utf8_encoding
extern int is_utf8_encoding (const char *encoding);
@@ -37,3 +42,8 @@ extern int is_utf8_encoding (const char *encoding);
extern int is_all_ascii (const char *s, size_t n);
#endif /* C_CTYPE_ASCII */
+
+
+#ifdef __cplusplus
+}
+#endif