Re: [AD] Indexed datafiles

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


On Thu, 2006-01-05 at 14:49 -0800, Chris wrote:
> One problem with this (as well as the current implementation) is that it 
> doesn't call _install_allegro at all if the versions aren't compatible. As I 
> understand it, _install_allegro was made to initialize stuff needed for 
> allegro_message even if the call ultimately fails. This no longer happens if 
> the it fails because of a version mismatch.
> 
> One solution may be to call
> _install_allegro(SYSTEM_NONE, NULL, NULL);
> before returning !0, if that would still initialize allegro_message.
> 

I don't think it would, since allegro_message is in the system driver
vtable, and SYSTEM_NONE has a NULL for it, so only the default printf
would be used, which is already used when no driver is present at all.

-- 
Elias Pschernig





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