Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Formatting - relaxed?

Re: Formatting - relaxed?

From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: 2006-02-26

gl wrote:
>
> I've read the guide on code formatting, but I'm wondering if the project
> leader(s) are still as concerned about // style comments? They're much
> quicker to type, and also allow the use of /* */ to quickly disable
> blocks of code.

Yes, we are concerned about those.

If you want to disable blocks of code, use #if:

#if 0
...
...
...
#endif

Linus
Received on Sun Feb 26 11:00:42 2006


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa