Re: [AD] [LINUX] VGA/ModeX drivers

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


In reply to Eric Botcazou <ebotcazou@xxxxxxxxxx>:
>> They would simply have to make __vga_exit() public and unregister itself
>> when called.
>
>Huh... I just realized that there isn't any function in ANSI C to
>unregister itself, is it ?
>
>So the solution would be to provide an vga_init_without_registering()
>function. I'm going to check first whether it isn't already existing...

The solution is to copy Allegro :-) allegro_exit() doesn't unregister
itself, but it doesn't have any side effects if called twice (because it
keeps a count of nested install/remove calls).

Bye for now,
-- 
Laurence Withers, lwithers@xxxxxxxxxx
                http://www.lwithers.demon.co.uk/

Attachment: signature.asc
Description: PGP signature



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