bug-ncurses
[Top][All Lists]
Advanced

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

Re: Reply to Mr Verdoolaege about wide chars


From: Sven Verdoolaege
Subject: Re: Reply to Mr Verdoolaege about wide chars
Date: Thu, 27 Sep 2001 10:56:09 +0200
User-agent: Mutt/1.3.20i

On Thu, Sep 27, 2001 at 06:18:55AM +0200, philippe blain wrote:
> So, I don't see why the double definition of _bkgd and _bkgrnd in _win_st ?
> You said 'backward compatibility', but when
> 
> 2) USE_WIDEC_SUPPORT is FALSE
>  NCURSES_bkgd_field="chtype  _bkgd;"
>  we have   chtype  _bkgd;   and  #define _bkgrnd     _bkgd
> 
> Why not a simplification here by choosing _bkgrnd ONLY ???

Some macros access fields in the struct, notably _bkgd, so
they can't move until the major version is increased.

If you can think of a better way of dealing with this, then by
all means let us know, but don't just say that it is unnecessary
because that only shows that you haven't thought about it.

> A function CANNOT return a structure, 

Says who ?

(Note that I don't have any strong feeling either way wrt
using the function or the macro)

skimo



reply via email to

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