cmocka: Reformat expect_check_count() define

This commit is contained in:
Andreas Schneider 2024-01-06 12:34:09 +01:00
parent 4cb63191de
commit 83ed06d9aa
1 changed files with 13 additions and 3 deletions

View File

@ -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