[Xcb] iterator .rem member

Barton C Massey bart at cs.pdx.edu
Fri Feb 9 10:22:10 PST 2007


The name is horrible; I think I'd prefer to carefully
document its horribility rather than try to change it,
though.  At least it's short.

	Bart

In message <Pine.LNX.4.64.0702091336190.27352 at grozny.maths.univ-evry.fr> you wrote:
>   This message is in MIME format.  The first part should be readable text,
>   while the remaining parts are likely unreadable without MIME-aware tools.
> 
> --8323328-265758654-1171024862=:27352
> Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed
> Content-Transfer-Encoding: 8BIT
> 
> 
> Hey,
> 
> as it breaks API (there's no specific function to retrieve it, you have 
> to access that member), I would say that it's too late. Maybe a function 
> can be added, like xcb_***_iterator_remaining_item_count or something like 
> that.
> 
> also, once you get it, it's not a big deal to use it. It's always the same 
> use (see the codes in xcb-util, for example). And as xcb will not be 
> generally used (I think), but through toolkits or graphic libs, it's not 
> really important, imho.
> 
> regards
> 
> Vincent
> 
> On Fri, 9 Feb 2007, Thomas Hunger wrote:
> 
> > Hello,
> >
> > the .rem member of iterator structs indicates the number "rem"aining
> > items in the list. This is surely obvious to most of you, but it took
> > me some time and looking into xproto.c to figure it out.
> >
> > Is it still possible to rename it to "remaining"? Or is it too late
> > since the api is frozen?
> >
> > Tom
> > _______________________________________________
> > Xcb mailing list
> > Xcb at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/xcb
> >
> > -- 
> > Ce message a été vérifié par MailScanner
> > pour des virus ou des polluriels et rien de
> > suspect n'a été trouvé.
> > Message délivré par le serveur de messagerie de l'Université d'Evry.
> >
> >
> --8323328-265758654-1171024862=:27352
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> _______________________________________________
> Xcb mailing list
> Xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb
> --8323328-265758654-1171024862=:27352--


More information about the Xcb mailing list