diff options
author | Nick Wellnhofer <[email protected]> | 2014-11-15 19:55:59 +0100 |
---|---|---|
committer | Nick Wellnhofer <[email protected]> | 2014-11-16 21:33:43 +0100 |
commit | 8c34fdc1b2d67ba440f5ad6cc5f81df4a3bcd937 (patch) | |
tree | d6ecf063869d208415041b0c6bd43073f08dcbbb /src/utf8.h | |
parent | 76b7e4241c840480beaef5ac6b711301f066251e (diff) |
Declare all functions as extern "C"
Diffstat (limited to 'src/utf8.h')
-rw-r--r-- | src/utf8.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |