Macro
CALL_GET
Call the original function being mocked and save its return value.
Since v1.0
#define CALL_GET(
FUNC,
RESULT,
...)
Parameters 🔗
FUNC | in | Function to call. |
RESULT | out | Return value. |
... | in | Function arguments. |
Discussion 🔗
Calls through to the original function FUNC
thereby bypassing any registered mock. If FUNC
is not mocked, then it is invoked as-is. The return value is stored in RESULT
.
If FUNC
does not return a value or the return value isn't needed, then use CALL.