bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: is_wintouched() and is_linetouched() cannot return ERR


From: Thomas Dickey
Subject: Re: is_wintouched() and is_linetouched() cannot return ERR
Date: Thu, 23 Nov 2017 08:46:01 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Nov 23, 2017 at 09:49:08PM +0900, Midolikawa H. wrote:
> Thanks for your response.
> 
> On 2017-11-19 23:27 -0900, I wrote:
> > I understood that is_wintouched() work correctly.
> 
> Sorry, I am not good at expressing in english.
> Correction:
> 
> Now I understand that is_wintouched() work correctly.
> I thought these routines might return 1 as (bool)ERR.

yes... when I read your followup message, I understood that.

Actually the implementation for both functions predate gcc's stdbool.h by
several years (first seen in ncurses 1.8.1 in 1993 versus gcc 3.0 in 2001).

I did not notice gcc's effect on is_linetouched when I added checks for
stdbool.h

-- 
Thomas E. Dickey <address@hidden>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]