www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/05/18/13:53:52

Message-Id: <199905181753.RAA20958@out5.ibm.net>
From: "Mark E." <snowball3 AT bigfoot DOT com>
To: djgpp-workers AT delorie DOT com
Date: Tue, 18 May 1999 13:54:40 -0400
MIME-Version: 1.0
Subject: Re: wctype.h and ctype.h
References: <Pine DOT LNX DOT 3 DOT 93 DOT 990517100828 DOT 2286C-100000 AT acp3bf>
In-reply-to: <Pine.SUN.3.91.990518133316.24330E-100000@is>
X-mailer: Pegasus Mail for Win32 (v3.11)
Reply-To: djgpp-workers AT delorie DOT com

> The question is: why did whoever created wctype.h need to include
> ctype.ha in it?  Does Addendum 1 say something that implies that
> including wctype.h pulls in the definitions of is* functions?  
> 

I'm the guilty one. I had that include in so later I could use it for the isw* 
equivalents of the is* functions in ctype.h.

I was planning on something like this:
int iswdigit (wchar_t ch)
{
  if /* is 'ch' in the range of an ASCII character? */
    return isdigit(ch);
}

But the include can be removed since none of this is implemented yet.

Mark

--- 
Mark Elbrecht, snowball3 AT bigfoot DOT com
http://snowball.frogspace.net/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019