about summary refs log tree commit diff
path: root/Src/ztype.h
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2005-11-01 02:50:22 +0000
committerWayne Davison <wayned@users.sourceforge.net>2005-11-01 02:50:22 +0000
commit232824511b64d6ecbe3cf8c60f2a98894fe3f7e8 (patch)
tree1108071b96f1c78b1d27a4562e969658f6121174 /Src/ztype.h
parentf03722f64bb19696997c2ea094b60c5d40033997 (diff)
downloadzsh-232824511b64d6ecbe3cf8c60f2a98894fe3f7e8.tar.gz
zsh-232824511b64d6ecbe3cf8c60f2a98894fe3f7e8.tar.xz
zsh-232824511b64d6ecbe3cf8c60f2a98894fe3f7e8.zip
Added macros for iascii(), ilower(), iprint(), and iupper().
Diffstat (limited to 'Src/ztype.h')
-rw-r--r--Src/ztype.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Src/ztype.h b/Src/ztype.h
index 2732682a2..b8bc584db 100644
--- a/Src/ztype.h
+++ b/Src/ztype.h
@@ -58,3 +58,8 @@
 #define imeta(X) _icom(X,IMETA)
 #define iwsep(X) _icom(X,IWSEP)
 #define inull(X) _icom(X,INULL)
+
+#define iascii(X) isascii(STOUC(X))
+#define ilower(X) islower(STOUC(X))
+#define iprint(X) isprint(STOUC(X))
+#define iupper(X) isupper(STOUC(X))