File SetPointerPlugin.hpp

Parent directory (include/mu/tiny/test)

Automatic pointer restoration after each test.

Definition (include/mu/tiny/test/SetPointerPlugin.hpp)

View source on GitHub

Detailed Description

Class SetPointerPlugin records the original address stored in a pointer variable before it is overwritten and restores it at the end of every test, without requiring explicit teardown code.

Use the Define MUTINY_PTR_SET macro (the preferred interface) or call mu::tiny::test::SetPointerPlugin::set_pointer() directly.

Includes

Included By

Namespaces

Classes

Defines