aboutsummaryrefslogtreecommitdiff
path: root/src/utf8.h
blob: 411406361504eb3f8a5a0734a6e3c1bd3152060f (plain)
  1. #ifndef CMARK_UTF8_H
  2. #define CMARK_UTF8_H
  3. #include <stdint.h>
  4. #include "buffer.h"
  5. #ifdef __cplusplus
  6. extern "C" {
  7. #endif
  8. void utf8proc_case_fold(cmark_strbuf *dest, const uint8_t *str, int len);
  9. void utf8proc_encode_char(int32_t uc, cmark_strbuf *buf);
  10. int utf8proc_iterate(const uint8_t *str, int str_len, int32_t *dst);
  11. int utf8proc_charlen(const uint8_t *str, int str_len);
  12. void utf8proc_detab(cmark_strbuf *dest, const uint8_t *line, size_t size);
  13. #ifdef __cplusplus
  14. }
  15. #endif
  16. #endif