cmocka: Reformat expect_check_count() define
This commit is contained in:
parent
4cb63191de
commit
83ed06d9aa
|
@ -843,9 +843,19 @@ void expect_check_count(function,
|
|||
CMockaValueData check_data,
|
||||
size_t count);
|
||||
#else
|
||||
#define expect_check_count(function, parameter, check_function, check_data, count) \
|
||||
_expect_check(cmocka_tostring(function), cmocka_tostring(parameter), __FILE__, __LINE__, check_function, \
|
||||
check_data, NULL, count)
|
||||
#define expect_check_count(function, \
|
||||
parameter, \
|
||||
check_function, \
|
||||
check_data, \
|
||||
count) \
|
||||
_expect_check(cmocka_tostring(function), \
|
||||
cmocka_tostring(parameter), \
|
||||
__FILE__, \
|
||||
__LINE__, \
|
||||
check_function, \
|
||||
check_data, \
|
||||
NULL, \
|
||||
count)
|
||||
#endif
|
||||
|
||||
#ifdef DOXYGEN
|
||||
|
|
Loading…
Reference in New Issue