aboutsummaryrefslogtreecommitdiffstats
path: root/myctype.h
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-12-10 15:23:08 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-12-10 15:23:08 +0000
commitaa0b3fe4d1e972a27d730f62e45bf2158a05480e (patch)
tree9e668d7dd60a650e3c2ced8a1d80980af6c449cc /myctype.h
parent[w3m-dev 02647] (diff)
downloadw3m-aa0b3fe4d1e972a27d730f62e45bf2158a05480e.tar.gz
w3m-aa0b3fe4d1e972a27d730f62e45bf2158a05480e.zip
[w3m-dev 02441] A patch against functions *_(un)?quote()
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
Diffstat (limited to 'myctype.h')
-rw-r--r--myctype.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/myctype.h b/myctype.h
index 7a82284..fd5adea 100644
--- a/myctype.h
+++ b/myctype.h
@@ -1,4 +1,4 @@
-/* $Id: myctype.h,v 1.3 2001/11/20 17:49:23 ukai Exp $ */
+/* $Id: myctype.h,v 1.4 2001/12/10 15:23:08 ukai Exp $ */
#ifndef _MYCTYPE_H
#define _MYCTYPE_H
@@ -12,6 +12,7 @@
#define MYCTYPE_XDIGIT (MYCTYPE_HEX|MYCTYPE_DIGIT)
#define GET_MYCTYPE(x) (MYCTYPE_MAP[(int)(unsigned char)(x)])
+#define GET_MYCDIGIT(x) (MYCTYPE_DIGITMAP[(int)(unsigned char)(x)])
#define IS_CNTRL(x) (GET_MYCTYPE(x) & MYCTYPE_CNTRL)
#define IS_SPACE(x) (GET_MYCTYPE(x) & MYCTYPE_SPACE)
@@ -22,6 +23,7 @@
#define IS_XDIGIT(x) (GET_MYCTYPE(x) & MYCTYPE_XDIGIT)
extern unsigned char MYCTYPE_MAP[];
+extern unsigned char MYCTYPE_DIGITMAP[];
#define INTCTYPE_ASCII 1