From aa0b3fe4d1e972a27d730f62e45bf2158a05480e Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Mon, 10 Dec 2001 15:23:08 +0000 Subject: [w3m-dev 02441] A patch against functions *_(un)?quote() From: Kiyokazu SUTO --- myctype.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'myctype.h') 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 -- cgit v1.2.3