summaryrefslogtreecommitdiff
path: root/src/cmark_ctype.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmark_ctype.c')
-rw-r--r--src/cmark_ctype.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmark_ctype.c b/src/cmark_ctype.c
index c9a9b0e..c0c4d5b 100644
--- a/src/cmark_ctype.c
+++ b/src/cmark_ctype.c
@@ -40,3 +40,5 @@ int cmark_isalnum(char c) {
}
int cmark_isdigit(char c) { return cmark_ctype_class[(uint8_t)c] == 3; }
+
+int cmark_isalpha(char c) { return cmark_ctype_class[(uint8_t)c] == 4; }