summaryrefslogtreecommitdiff
path: root/src/utf8.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utf8.h')
-rw-r--r--src/utf8.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/utf8.h b/src/utf8.h
index ecefa4e..4114063 100644
--- a/src/utf8.h
+++ b/src/utf8.h
@@ -4,10 +4,18 @@
#include <stdint.h>
#include "buffer.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
void utf8proc_case_fold(cmark_strbuf *dest, const uint8_t *str, int len);
void utf8proc_encode_char(int32_t uc, cmark_strbuf *buf);
int utf8proc_iterate(const uint8_t *str, int str_len, int32_t *dst);
int utf8proc_charlen(const uint8_t *str, int str_len);
void utf8proc_detab(cmark_strbuf *dest, const uint8_t *line, size_t size);
+#ifdef __cplusplus
+}
+#endif
+
#endif