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: [patch] peakmeter
From: Björn Stenberg (bjorn_at_haxx.se)
Date: 2002-10-07


phil_at_x-phobie.de wrote:
> Code police says (but only privately, not in docs/CONTRIBUTING: "No
> c++ comments allowed!"

Actually, it does say "Write normal C code. [...] no C++isms". While many late model C compilers accept // in C code, it is still very much a C++ism.

> For example all functions that start with mpeg_xxx come from the file
> mpeg.*

Only symbols that are exported (global) normally use a prefix. But you are right, it's a "silent convention". I'll add it to the file.

-- 
Björn



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