diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-10 15:23:08 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-12-10 15:23:08 +0000 |
commit | aa0b3fe4d1e972a27d730f62e45bf2158a05480e (patch) | |
tree | 9e668d7dd60a650e3c2ced8a1d80980af6c449cc /myctype.h | |
parent | [w3m-dev 02647] (diff) | |
download | w3m-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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |