Clarify the identifier naming rules
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15285 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
072a3c5017
commit
d5b02467de
1 changed files with 4 additions and 2 deletions
|
@ -28,10 +28,12 @@ Language features
|
|||
Write normal C code. Don't redefine the language. No new types (structs are
|
||||
structs, not typedefs), no C++isms or Javaisms.
|
||||
|
||||
Names
|
||||
Identifiers
|
||||
-----
|
||||
We do not want mixed case identifiers.
|
||||
Variables and function names should be all lower case.
|
||||
Preprocessor symbols should be all uppercase.
|
||||
Struct and enum names should be all lower case.
|
||||
Preprocessor symbols and enum constants should be all upper case.
|
||||
|
||||
Comments
|
||||
--------
|
||||
|
|
Loading…
Reference in a new issue