Re: [AD] namespace collision

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


On Wednesday 08 August 2001 12:40, you wrote:
> In reply to Hein Zelle <hein@xxxxxxxxxx>:
> >My apologies for this silly question, but could someone recapitulate
> >(briefly) why the whole topic about name space collisions came up in
> >the first place? The suggestions with #define tricks to prefix
> >function names seem to give some possible nasty problems so I'd like
> >to know why this prefixing would be desirable in the first place.
>
> Things like clear(): this appears in Allegro and in curses, thus
> disallowing usage of both libraries together in the same program.
>

Im not sure if anyone has realized this or not but
shouldn't 'clear()' be 'clear_bitmap()'? Just to make
it more in line with the rest of the api?

Sure this might break some things but thats
what #defines are for.

-- 
Tom Fjellstrom
tfjellstrom@xxxxxxxxxx
http://strangesoft.net



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