55,7 → 55,7 |
#define ERROR_DECLARE int ERROR_CODE |
|
/** Stores the value as an error code and checks if an error occurred. |
* @param value The value to be checked. May be a function call. Input parameter. |
* @param[in] value The value to be checked. May be a function call. |
* @returns FALSE if the value indicates success (EOK). |
* @returns TRUE otherwise. |
*/ |
70,7 → 70,7 |
#endif |
|
/** Checks if an error occurred and immediately exits the actual function returning the error code. |
* @param value The value to be checked. May be a function call. Input parameter. |
* @param[in] value The value to be checked. May be a function call. |
*/ |
|
#define ERROR_PROPAGATE( value ) if( ERROR_OCCURRED( value )) return ERROR_CODE |