summaryrefslogtreecommitdiff
path: root/lib/unicase/unicasemap.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unicase/unicasemap.h')
-rw-r--r--lib/unicase/unicasemap.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/unicase/unicasemap.h b/lib/unicase/unicasemap.h
index 783b3930..6783b9b3 100644
--- a/lib/unicase/unicasemap.h
+++ b/lib/unicase/unicasemap.h
@@ -29,6 +29,11 @@
#include "unicase.h"
#include "uninorm.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
extern uint8_t *
u8_casemap (const uint8_t *s, size_t n,
casing_prefix_context_t prefix_context,
@@ -58,3 +63,8 @@ extern uint32_t *
size_t offset_in_rule, /* offset in 'struct special_casing_rule' */
uninorm_t nf,
uint32_t *resultbuf, size_t *lengthp);
+
+
+#ifdef __cplusplus
+}
+#endif