diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2007-10-24 13:08:00 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2007-10-24 13:08:00 +0000 |
commit | d5b02467de52b2f38845aca41242e97f263ad38c (patch) | |
tree | 241d4eb663a9c3f8f3ddc19c72734ace66fc31de /docs/CONTRIBUTING | |
parent | 072a3c5017e4d97a0d8bc56b71d1a8b100784ef7 (diff) | |
download | rockbox-d5b02467de52b2f38845aca41242e97f263ad38c.tar.gz rockbox-d5b02467de52b2f38845aca41242e97f263ad38c.zip |
Clarify the identifier naming rules
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15285 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'docs/CONTRIBUTING')
-rw-r--r-- | docs/CONTRIBUTING | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/CONTRIBUTING b/docs/CONTRIBUTING index d36e359719..e426770790 100644 --- a/docs/CONTRIBUTING +++ b/docs/CONTRIBUTING | |||
@@ -28,10 +28,12 @@ Language features | |||
28 | Write normal C code. Don't redefine the language. No new types (structs are | 28 | Write normal C code. Don't redefine the language. No new types (structs are |
29 | structs, not typedefs), no C++isms or Javaisms. | 29 | structs, not typedefs), no C++isms or Javaisms. |
30 | 30 | ||
31 | Names | 31 | Identifiers |
32 | ----- | 32 | ----- |
33 | We do not want mixed case identifiers. | ||
33 | Variables and function names should be all lower case. | 34 | Variables and function names should be all lower case. |
34 | Preprocessor symbols should be all uppercase. | 35 | Struct and enum names should be all lower case. |
36 | Preprocessor symbols and enum constants should be all upper case. | ||
35 | 37 | ||
36 | Comments | 38 | Comments |
37 | -------- | 39 | -------- |