Re: [AD] user-defined events

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


On Monday 29 September 2008, Peter Wang wrote:
> On 2008-09-29, Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:
> > I tried not to specify when /exactly/ the user would free the data. Since
> > it is user specific, they will need to keep track of it, and be told that
> > multiple events may point to the same data. If we can't handle this
> > special case in a not too clever manner, we probably shouldn't.
> >
> > I can see cases where the user is just passing a handle around, and won't
> > actually want to free it right away (after getting the initial message).
> > its just a convenient way to pass a specific structure to the handler.
> >
> > Lets try not to think of this data as anything allegro should actually
> > care about (It probably shouldn't, it could be anything).
>
> Ok, it wasn't clear before.  We're saying the same thing.

We weren't when I sent the first couple messages, and affer I turned the 180, 
I thought I was still a little more extreme than what you guys were talking 
about, still worrying about what and when to free user data or whatever..

> Peter
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge Build the coolest Linux based applications with Moblin SDK & win
> great prizes Grand prize is a trip for two to an Open Source event anywhere
> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/


-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx




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