Changes between Version 7 and Version 8 of CodingStyle
- Timestamp:
- May 24, 2008, 3:28:26 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodingStyle
v7 v8 111 111 112 112 * (Almost) all functions should return an integer error code. Nonzero means error. See [source:trunk/boinc/lib/error_numbers.h lib/error_numbers.h] for a list of error codes. 113 * Calls to functions that return an error code should check the code. Generally they should return on error, e.g.:113 * Calls to functions that return an error code should check the code. Generally they should return non-zero on error, e.g.: 114 114 {{{ 115 115 retval = blah();