Rockbox.org home
releases
current build
extras FAQ
manual
wiki
docs index mailing lists
IRC
forums bugs
patches



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 "Mar 9 2008" The Rockbox Crew