Re: [AD] 2 glitches in the GUI code |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> > Do you mean
> >
> > char *foobar(DIALOG *from, int index, int *list_size);
> >
> > as the new prototype for the callback function ?
>
> Exactly.
It's again a very common practice for callbacks to be passed their caller,
like to return an acknowledge value (hence this @&$#! of for_each_file()
could be fixed too ;-).
IMHO that would be useful, but I know of API ayatollahs that presumably
don't share this viewpoint ;-)
--
Eric Botcazou
ebotcazou@xxxxxxxxxx