Re: ascii string comparison [Re: use C locale for LC_CTYPE]

Johannes Hofmann <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
On Tue, Nov 08, 2011 at 08:15:57PM +0000, corvid wrote:
> Johannes wrote:
> > On Tue, Nov 08, 2011 at 05:42:26PM +0000, corvid wrote:
> > > I think I'll go with D_ASCII_TOUPPER because the argument gets
> > > evaluated more than once, and we don't want nasty surprises.
> > 
> > Hm, not sure what you mean. An inline function should behave just as
> > a normal function that's the nice thing about them. 
> 
> If I'm in dlib.h and it's C90, can I use inline? I was under the
> impression that I couldn't.

Argh, I knew there was a catch :-)

So all uppercase macros then or just not trying to inline and use a
normal function.

Cheers,
Johannes
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.