| 1 | #ifndef CMARK_CMARK_CTYPE_H |
|---|---|
| 2 | #define CMARK_CMARK_CTYPE_H |
| 3 | |
| 4 | #ifdef __cplusplus |
| 5 | extern "C"{ |
| 6 | #endif |
| 7 | |
| 8 | /** Locale-independent versions of functions from ctype.h. |
| 9 | * We want cmark to behave the same no matter what the system locale. |
| 10 | */ |
| 11 | |
| 12 | int cmark_isspace(char c); |
| 13 | |
| 14 | int cmark_ispunct(char c); |
| 15 | |
| 16 | int cmark_isalnum(char c); |
| 17 | |
| 18 | int cmark_isdigit(char c); |
| 19 | |
| 20 | int cmark_isalpha(char c); |
| 21 | |
| 22 | #ifdef __cplusplus |
| 23 | } |
| 24 | #endif |
| 25 | |
| 26 | #endif |
| 27 |