This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#5782 - remove the need to #ifdef show_*_backdrop();
Attached to Project:
Rockbox
Opened by Jonathan Gordon (jdgordon) - Wednesday, 09 August 2006, 11:20 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Sunday, 20 May 2007, 11:01 GMT+2
Opened by Jonathan Gordon (jdgordon) - Wednesday, 09 August 2006, 11:20 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Sunday, 20 May 2007, 11:01 GMT+2
|
Detailsthis #defines show_*_backdrop() so we dont need to put it inside #ifdef HAVE_LCD_COLOR
|
This task depends upon
Closed by Jonathan Gordon (jdgordon)
Sunday, 20 May 2007, 11:01 GMT+2
Reason for closing: Rejected
Additional comments about closing: macros suck
Sunday, 20 May 2007, 11:01 GMT+2
Reason for closing: Rejected
Additional comments about closing: macros suck
But I don't know if we really want to hide functions via #define.
If we start this, we would have to do it for every possible function/target.
If you then have a look at the sourcecode you'll see apparent functions which
are not relevant for your target...
I think it's more confusing than having #ifdef around them.
(btw, the #define methos is only possible for functions without parameters -
which makes it somehow limited... ;)
my two cents...