ADTF
3.18.5
legacy_error_macros.h
Go to the documentation of this file.
1
16
#ifndef LEGACY_ERROR_MACROS_H_
17
#define LEGACY_ERROR_MACROS_H_
18
19
#include <
a_util/result/result_info.h
>
20
#include <
a_util/result/result_type.h
>
21
27
#define RETURN_IF_FAILED(s) \
28
{ \
29
const a_util::result::Result _errcode(s); \
30
if (!_errcode) { \
31
return (_errcode); \
32
} \
33
}
34
35
#endif
// LEGACY_ERROR_MACROS_H_
result_info.h
Common include for ResultInfo functionality.
result_type.h
Common include for Result functionality.
Copyright © VW Group. All rights reserved. (Generated on Mon Jul 29 2024 by doxygen 1.9.1)