comparison mcabber/CodingStyle.txt @ 2337:ffd0e57e9563

Defined types shall end with "_t"
author franky
date Sun, 12 May 2019 11:32:30 +0200
parents 189ffdd944b4
children
comparison
equal deleted inserted replaced
2336:0dc317b5599d 2337:ffd0e57e9563
6 - Do not use tabs, use space characters; 6 - Do not use tabs, use space characters;
7 - Avoid trailing whitespace; 7 - Avoid trailing whitespace;
8 - Avoid lines longer than 80 characters; 8 - Avoid lines longer than 80 characters;
9 - Indentation is 2 spaces (ok, maybe it isn't a good idea but it's the 9 - Indentation is 2 spaces (ok, maybe it isn't a good idea but it's the
10 current style); 10 current style);
11 - Defined types shall end with _t
11 - Put a space after non-functions statements (e.g. if, while...) 12 - Put a space after non-functions statements (e.g. if, while...)
12 - Put the opening brace last on the same line, and put the closing brace first 13 - Put the opening brace last on the same line, and put the closing brace first
13 except for functions, where the opening brace should be alone on a new line. 14 except for functions, where the opening brace should be alone on a new line.
14 15
15 Example: 16 Example: