Changes between Version 29 and Version 30 of CodeStyle
- Timestamp:
- 04/21/22 18:09:24 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodeStyle
v29 v30 3 3 The OpenVPN 2.4+ coding style is based on the Allman style, e.g.: 4 4 {{{#!c 5 void myfunction(int a, int b) 5 void 6 myfunction(int a, int b) 6 7 { 7 8 const char *dummy = "Hello world!"; … … 27 28 The maximum line length is 80 characters. When statements exceed this length, wrap them by aligning with the appropriate (, or otherwise using a single indent (ie 4 spaces) on the new line. For example: 28 29 {{{#!c 29 void my_function(void) 30 void 31 my_function(void) 30 32 { 31 33 if (variable_with_artificially_long_name_1 != 0