diff options
author | Sjur Brændeland <sjur.brandeland@stericsson.com> | 2010-11-17 08:09:12 +0100 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-11-17 08:16:09 -0600 |
commit | c2962678b7f49b09f0cedf6928118ba9b3cd5f4b (patch) | |
tree | 597540b0e5476ae8fe385cac0b347e0f54decba2 /doc/coding-style.txt | |
parent | 8ae8deb44ff828ed358693d56b2007c8206e309e (diff) | |
download | ofono-c2962678b7f49b09f0cedf6928118ba9b3cd5f4b.tar.bz2 |
coding-style: Add exception to rule M12
For external enums
Diffstat (limited to 'doc/coding-style.txt')
-rw-r--r-- | doc/coding-style.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/coding-style.txt b/doc/coding-style.txt index 6fa355ed..fb43891f 100644 --- a/doc/coding-style.txt +++ b/doc/coding-style.txt @@ -205,6 +205,10 @@ default: // wrong break; } +However if the enum comes from an external header file outside ofono +we cannot make any assumption of how the enum is defined and this +rule might not apply. + O1: Shorten the name ==================== Better to use abbreviation, rather than full name, to name a variable, |