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

Re: [patch] peakmeter

From: Björn Stenberg <bjorn_at_haxx.se>
Date: Mon, 7 Oct 2002 22:58:54 +0200

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
Received on 2002-10-07

Page was last modified "Mon Nov 16 10:57:21 2020" The Rockbox Crew -- Privacy Policy