| 1 | #ifndef CMARK_UTF8_H | 
|---|---|
| 2 | #define CMARK_UTF8_H | 
| 3 | |
| 4 | #include <stdint.h> | 
| 5 | #include "buffer.h" | 
| 6 | |
| 7 | #ifdef __cplusplus | 
| 8 | extern "C"{ | 
| 9 | #endif | 
| 10 | |
| 11 | void cmark_utf8proc_case_fold(cmark_strbuf *dest, const uint8_t *str, | 
| 12 | bufsize_t len); | 
| 13 | void cmark_utf8proc_encode_char(int32_t uc, cmark_strbuf *buf); | 
| 14 | int cmark_utf8proc_iterate(const uint8_t *str, bufsize_t str_len, int32_t *dst); | 
| 15 | void cmark_utf8proc_check(cmark_strbuf *dest, const uint8_t *line, | 
| 16 | bufsize_t size); | 
| 17 | int cmark_utf8proc_is_space(int32_t uc); | 
| 18 | int cmark_utf8proc_is_punctuation(int32_t uc); | 
| 19 | |
| 20 | #ifdef __cplusplus | 
| 21 | } | 
| 22 | #endif | 
| 23 | |
| 24 | #endif | 
| 25 | 
