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: Sun, 26 Feb 2006 10:59:16 +0100

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 2006-02-26

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy