Re: [AD] user data for timers

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


On 2009-09-11, Matthew Leverton <meffer@xxxxxxxxxx> wrote:
> In some situations where I have dynamic timers, I would find the
> following useful:
> 
> al_set_timer_data(timer, data);
> al_get_timer_data(timer);
> 
> where data is of type void*.

I'm not very opposed to it, but my concern is that we'll start getting
requests for userdata for a bunch of other objects, which could get very
silly.  Why timers and not others?

Peter




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