Define MUTINY_PTR_SET¶
Defined in File SetPointerPlugin.hpp
Define Documentation¶
-
MUTINY_PTR_SET(a, b)¶
[source] Save the original value of pointer
a, then seta=b.The original value is automatically restored after the test ends. Requires mu::tiny::test::SetPointerPlugin to be installed in the test runner’s plugin chain. Calls mu::tiny::test::SetPointerPlugin::set_pointer() internally.
- Parameters:
a – Pointer variable to overwrite (must be an lvalue).
b – New pointer value.