ADTF  3.14.3
legacy_error_macros.h File Reference

This header provides the legacy error macros. More...

Go to the source code of this file.

Macros

#define RETURN_IF_FAILED(s)
 legacy error macro More...
 

Detailed Description

This header provides the legacy error macros.

Important: This header may not be included in ddl.h!

Definition in file legacy_error_macros.h.

Macro Definition Documentation

◆ RETURN_IF_FAILED

#define RETURN_IF_FAILED (   s)
Value:
{ \
a_util::result::Result _errcode(s); \
if (a_util::result::isFailed(_errcode)) { \
return (_errcode); \
} \
}
bool isFailed(const ResultType &result)
Check whether a return value indicates an unsuccessful function execution.

legacy error macro

Parameters
sthe expression

Definition at line 33 of file legacy_error_macros.h.


Copyright © Audi Electronics Venture GmbH. All rights reserved. (Generated on Thu Jun 9 2022 by doxygen 1.9.1)