aboutsummaryrefslogtreecommitdiff
path: root/src/cmark_ctype.h
blob: f80394670b2abf8ecf7df899037ce81262f08455 (plain)
  1. #ifndef CMARK_CMARK_CTYPE_H
  2. #define CMARK_CMARK_CTYPE_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. /** Locale-independent versions of functions from ctype.h.
  7. * We want cmark to behave the same no matter what the system locale.
  8. */
  9. int cmark_isspace(char c);
  10. int cmark_ispunct(char c);
  11. int cmark_isalnum(char c);
  12. int cmark_isdigit(char c);
  13. #ifdef __cplusplus
  14. }
  15. #endif
  16. #endif