File SetPointerPlugin.hpp¶
↰ Parent directory (include/mu/tiny/test)
Automatic pointer restoration after each test.
Definition (include/mu/tiny/test/SetPointerPlugin.hpp)¶
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¶
mu/tiny/export.hmu/tiny/test/Plugin.hpp(File Plugin.hpp)