nanogui: Pending patches/bug/requests ... list available on the FTP


Previous by date: 28 May 2005 07:50:08 +0100 Re: Pending patches/bug/requests ... list available on the FTP, Alexander Neundorf
Next by date: 28 May 2005 07:50:08 +0100 Re: Pending patches/bug/requests ... list available on the FTP, Alexander Neundorf
Previous in thread: 28 May 2005 07:50:08 +0100 Re: Pending patches/bug/requests ... list available on the FTP, Alexander Neundorf
Next in thread: 28 May 2005 07:50:08 +0100 Re: Pending patches/bug/requests ... list available on the FTP, Alexander Neundorf

Subject: Re: [nanogui] Pending patches/bug/requests ... list available on the FTP
From: Alain Volmat ####@####.####
Date: 28 May 2005 07:50:08 +0100
Message-Id: <20050528065000.GA28707@pop.mail.yahoo.com>

> ftp://microwindows.censoft.com/pub/microwindows/patch-0.92/20050427-optional_FBLIN_support.txt
> 
> I'd like to see this one go in, I was about to start writing the same kind of 
> patch.

Me too :D and that's basically the reason why I wrote it last month. :D

> Another option would be to have all drivers register themselves.
> So in each driver file something like
> 
> static void register_me() __attribute__ ((constructor))
> {
>    global_driver_table_append(&my_driver_struct);
> }
> 
> Then the driver selection code in fb.c would turn from a big switch to an 
> iteration over the list of drivers and choose the matching one. This would 
> get rid of the ifdefs in this file.
> 
> Would you consider this a better option ?

I have to admit that it is the first time I hear about this constructor
attribute ... after a bit of googling I understand what it does and it seems
to be quite good for this case. However does using such attribute will not
make problem on some platform ? (I lack of information about it so I can't
really judge) If no, then I think since solution if much better than the
dirty #ifdef solution.

Alain

> 
> Bye
> Alex
> --
> Work: ####@####.#### - http://www.jenoptik-los.de
> Home: ####@####.####                - http://www.kde.org
>       ####@####.####               - http://www.neundorf.net
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
> 
</quote>

	

	
		
_____________________________________________________________________________ 
Découvrez le nouveau Yahoo! Mail : 1 Go d'espace de stockage pour vos mails, photos et vidéos ! 
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com

Previous by date: 28 May 2005 07:50:08 +0100 Re: Pending patches/bug/requests ... list available on the FTP, Alexander Neundorf
Next by date: 28 May 2005 07:50:08 +0100 Re: Pending patches/bug/requests ... list available on the FTP, Alexander Neundorf
Previous in thread: 28 May 2005 07:50:08 +0100 Re: Pending patches/bug/requests ... list available on the FTP, Alexander Neundorf
Next in thread: 28 May 2005 07:50:08 +0100 Re: Pending patches/bug/requests ... list available on the FTP, Alexander Neundorf


Powered by ezmlm-browse 0.20.