Changes between Version 7 and Version 8 of CodingStyle


Ignore:
Timestamp:
May 24, 2008, 3:28:26 PM (17 years ago)
Author:
Nicolas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CodingStyle

    v7 v8  
    111111
    112112 * (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.:
    114114{{{
    115115retval = blah();