summaryrefslogtreecommitdiff
path: root/src/cmark_ctype.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmark_ctype.h')
-rw-r--r--src/cmark_ctype.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/cmark_ctype.h b/src/cmark_ctype.h
new file mode 100644
index 0000000..afc605e
--- /dev/null
+++ b/src/cmark_ctype.h
@@ -0,0 +1,11 @@
+/** Locale-independent versions of functions from ctype.h.
+ * We want cmark to behave the same no matter what the system locale.
+ */
+
+int isspace(char c);
+
+int ispunct(char c);
+
+int isalnum(char c);
+
+int isdigit(char c);