Re: [AD] user data

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


> But there are cases where this is not possible, when Allegro can give you
> a pointer to one of its types, and thus can't give you a pointer to a
> user defined wrapper structure.

Of course. But in the two examples you gave, you could have used the
wrapper method (derived class for MY_DIALOG and encapsulated pointer for
MY_BITMAP), no ? But I agree that's not the general case.

--
Eric Botcazou
ebotcazou@xxxxxxxxxx



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