Re: [AD] events.c patch

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2008-10-26, Paul Suntsov <siegelords_abode@xxxxxxxxxx> wrote:
>  
> > I guess I'll change it, but it seems particularly
> > useless.  Why would
> > you ever drop the head of a queue without knowing
> > what's there?
>
> Hehe, well I'm not just going through the API looking at things I
> don't like :P The timer based loop in this thread
> http://www.allegro.cc/forums/thread/598066 uses a dummy event that is
> never checked, and it would be cleaner to use the drop event function
> with a return instead.

Yes, I guess if you know a queue can only contain one type of event
then it has some use.  I made the change.

Peter





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/