Minor formatting fix in coding_style.txt

This commit is contained in:
Nedko Arnaudov 2013-07-21 01:06:37 +03:00
parent 96491b7e57
commit eaf678ec8f
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ For other languages, rules should be applied if possible.
* Conditional statements must contain only checks on booleans. The implicit "non-zero is true" feature of the C must not be used. * Conditional statements must contain only checks on booleans. The implicit "non-zero is true" feature of the C must not be used.
Pointers must be explicitly compared with NULL. Integers must be explicitly compared with 0. Pointers must be explicitly compared with NULL. Integers must be explicitly compared with 0.
= C/C++ functions and C++ methods == = C/C++ functions and C++ methods =
* Function calls and declarations must be either one liners or have their name in separate line. * Function calls and declarations must be either one liners or have their name in separate line.
* 'const type *' must be used for input parameter function parameters that are pointers. * 'const type *' must be used for input parameter function parameters that are pointers.
* For multiline function declarations/calls, grouping of parameters could be used only if parameters are grouped by their semantics. * For multiline function declarations/calls, grouping of parameters could be used only if parameters are grouped by their semantics.