RE: [AD] Request: adding textout_ex(), which takes bg color as parameter |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
> What does the _ex stand for, and what exactly is the reason to name
> the new functions *_ex and make the 'short' versions deprecated? I'd
> prefer to see it the other way around, although I can see some
> confusion if the functionality of a function changes.
extension/extended
I guess it's for people who upgrade to not have their code crash.
If they code in C, the recompile would do fine (unless -Wall) but
would crash (or behave wrongly) due to not pushing the parameter
the routines expects. So a new name has to be found for the new
routines, unfortunately.
A different way to solve this would be to allow the al_ prefix
for new functions. But I doubt people will allow this. Weren't
we supposed to al_ everything for 4.1 by the way ? Or only for
5.0 ?
--
Vincent Penquerc'h
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |