| 140 | } |
| 141 | |
| 142 | void RegisterValidationInterface(CValidationInterface *callbacks) { |
| 143 | // Create a shared_ptr with a no-op deleter - CValidationInterface lifecycle |
| 144 | // is managed by the caller. |
| 145 | RegisterSharedValidationInterface( |
| 146 | {callbacks, [](CValidationInterface *) {}}); |
| 147 | } |
| 148 | |
| 149 | void UnregisterSharedValidationInterface( |
| 150 | std::shared_ptr<CValidationInterface> callbacks) { |
no test coverage detected