File tree Expand file tree Collapse file tree 4 files changed +12
-21
lines changed Expand file tree Collapse file tree 4 files changed +12
-21
lines changed Original file line number Diff line number Diff line change 11
11
#ifndef _ERPC_CONFIG_H_
12
12
#define _ERPC_CONFIG_H_
13
13
14
+ #if !defined(erpc_assert)
14
15
#include <cassert>
16
+ #define erpc_assert (condition ) assert(condition) //!< Assert function.
17
+ #endif
15
18
16
19
/*!
17
20
* @addtogroup config
183
186
//! Uncomment for using pre post default callback feature.
184
187
//#define ERPC_PRE_POST_ACTION_DEFAULT (ERPC_PRE_POST_ACTION_DEFAULT_ENABLED)
185
188
186
- //! @name Assert function definition
187
- //@{
188
- #define erpc_assert (condition ) assert(condition) //!< Assert function.
189
- //@}
190
-
191
-
192
189
/*! @} */
193
190
#endif // _ERPC_CONFIG_H_
194
191
////////////////////////////////////////////////////////////////////////////////
Original file line number Diff line number Diff line change 10
10
#ifndef _ERPC_CONFIG_H_
11
11
#define _ERPC_CONFIG_H_
12
12
13
+ #if !defined(erpc_assert )
13
14
#include <cassert>
15
+ #define erpc_assert (condition ) assert(condition) //!< Assert function.
16
+ #endif
14
17
15
18
////////////////////////////////////////////////////////////////////////////////
16
19
// Declarations
176
179
//! Uncomment for using pre post default callback feature.
177
180
//#define ERPC_PRE_POST_ACTION_DEFAULT (ERPC_PRE_POST_ACTION_DEFAULT_ENABLED)
178
181
179
- //! @name Assert function definition
180
- //@{
181
- #define erpc_assert (condition ) assert(condition) //!< Assert function.
182
- //@}
183
-
184
182
/*! @} */
185
183
#endif // _ERPC_CONFIG_H_
186
184
////////////////////////////////////////////////////////////////////////////////
Original file line number Diff line number Diff line change 10
10
#ifndef _ERPC_CONFIG_H_
11
11
#define _ERPC_CONFIG_H_
12
12
13
+ #if !defined(erpc_assert )
13
14
#include <cassert>
15
+ #define erpc_assert (condition ) assert(condition) //!< Assert function.
16
+ #endif
14
17
15
18
/*!
16
19
* @addtogroup config
182
185
//! Uncomment for using pre post default callback feature.
183
186
//#define ERPC_PRE_POST_ACTION_DEFAULT (ERPC_PRE_POST_ACTION_DEFAULT_ENABLED)
184
187
185
- //! @name Assert function definition
186
- //@{
187
- #define erpc_assert (condition ) assert(condition) //!< Assert function.
188
- //@}
189
-
190
188
/*! @} */
191
189
#endif // _ERPC_CONFIG_H_
192
190
////////////////////////////////////////////////////////////////////////////////
Original file line number Diff line number Diff line change 9
9
#ifndef _ERPC_CONFIG_H_
10
10
#define _ERPC_CONFIG_H_
11
11
12
+ #if !defined(erpc_assert )
12
13
#include <cassert>
14
+ #define erpc_assert (condition ) assert(condition) //!< Assert function.
15
+ #endif
13
16
14
17
/*!
15
18
* @addtogroup config
181
184
//! Uncomment for using pre post default callback feature.
182
185
//#define ERPC_PRE_POST_ACTION_DEFAULT (ERPC_PRE_POST_ACTION_DEFAULT_ENABLED)
183
186
184
- //! @name Assert function definition
185
- //@{
186
- #define erpc_assert (condition ) assert(condition) //!< Assert function.
187
- //@}
188
-
189
187
/*! @} */
190
188
#endif // _ERPC_CONFIG_H_
191
189
////////////////////////////////////////////////////////////////////////////////
You can’t perform that action at this time.
0 commit comments