RE: [AD] a good font is a const font

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


> > I personally don't like it very much. This is IMHO a 
> > gratuitous API change.
> 
> Yes :)

To clarify:
The (almost) whole API was modified to add constness to suitable
parameters (except BITMAPs, which should be, despite this bank
writing annoyance). That's as gratuitous as the font modification,
as the FONT data is not suppose to be changed. It's just a help,
so that when you try to modify it, the compiler tells you. But it
is certainly not needed, thus superfluous (or gratuitous). In any
case, other gratuitous things were done (eg the change of return
parameters from 0 to 1, which is not even detectable at compile
time).

-- 
Vincent Penquerc'h 




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