Re: [AD] namespace collision

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


On 12 Aug 2001, Peter Wang <tjaden@xxxxxxxxxx> wrote:
> On 09 Aug 2001, Peter Wang <tjaden@xxxxxxxxxx> wrote:
> > (1) `clear' becomes `clear_bitmap' in source.
> > (2) `allegro.h' gets "#define clear(bmp) clear_bitmap(bmp)".
> > (3) You can switch off (2) with a #define before #include <allegro.h>.
> > (4) People who take the address of `clear' need to use
> >     `clear_bitmap' instead.  People who have member functions called
> >     `clear' need to do (3) and use `clear_bitmap'.
> 
> In light of the problems with inline functions, I'm going to return
> to this proposal.  A possible patch is attached.

Committed.  I haven't updated the examples/tests, just in case we
need to revert this.



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