summaryrefslogtreecommitdiff
path: root/include/libHX/ctype_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libHX/ctype_helper.h')
-rw-r--r--include/libHX/ctype_helper.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libHX/ctype_helper.h b/include/libHX/ctype_helper.h
index 2ba0a7a..0f42c4f 100644
--- a/include/libHX/ctype_helper.h
+++ b/include/libHX/ctype_helper.h
@@ -39,6 +39,11 @@ static __inline__ bool HX_isalpha(unsigned char c)
return isalpha(c);
}
+static __inline__ bool HX_isascii(unsigned char c)
+{
+ return isascii(c);
+}
+
static __inline__ bool HX_isdigit(unsigned char c)
{
return isdigit(c);