Re: [AD] _get_allegro_version (4.3)

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


On 2007-08-06, Matthew Leverton <meffer@xxxxxxxxxx> wrote:
> On 8/6/07, Peter Wang <novalazy@xxxxxxxxxx> wrote:
> > On 2007-08-06, Matthew Leverton <meffer@xxxxxxxxxx> wrote:
> > > Should the _get_allegro_version() function even exist in the 4.3 branch?
> > >
> > > Attached is a patch the removes it.
> >
> > You need to remove it from include/allegro/internal/aintern.h as well.
> > Otherwise that's fine.
> >
> So should _install_allegro be made static and removed from aintern.h as well?

Well, no.  _install_allegro needs to be inlined into the user program so
_install_allegro_version_check can see if the Allegro library at
run-time is as recent as the copy of Allegro at compile time.

Peter





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