mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-10-11 19:37:24 +00:00
Replace IgnoreMode with ExpectAnyArgsBool (no functional change).
IgnoreMode was used only for the ExpectAnyArgs plugin, and the semantics of it were backwards: - IgnoreMode = CMOCK_ARG_NONE means to ignore all arguments - IgnoreMode = CMOCK_ARG_ALL means to verify all arguments ExpectAnyArgsBool should make the purpose and semantics of this field clearer. Additionally, ExpectAnyArgs doesn't use FinalReturn for anything.
This commit is contained in:
@@ -16,10 +16,6 @@
|
||||
|
||||
#define CMOCK_GUTS_NONE (0)
|
||||
|
||||
#define CMOCK_ARG_MODE CMOCK_MEM_INDEX_TYPE
|
||||
#define CMOCK_ARG_ALL 0
|
||||
#define CMOCK_ARG_NONE ((CMOCK_MEM_INDEX_TYPE)(~0U))
|
||||
|
||||
//-------------------------------------------------------
|
||||
// Memory API
|
||||
//-------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user