MCPcopy Create free account
hub / github.com/Norbyte/ositools / MergeWrapper

Method MergeWrapper

OsiInterface/OsirisProxy.cpp:392–412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

390}
391
392bool OsirisProxy::MergeWrapper(std::function<bool (void *, wchar_t *)> const & Next, void * Osiris, wchar_t * Src)
393{
394 Debug("OsirisProxy::MergeWrapper() - Started merge");
395
396#if !defined(OSI_NO_DEBUGGER)
397 if (debugger_ != nullptr) {
398 debugger_->MergeStarted();
399 }
400#endif
401
402 bool retval = Next(Osiris, Src);
403
404#if !defined(OSI_NO_DEBUGGER)
405 if (debugger_ != nullptr) {
406 debugger_->MergeFinished();
407 }
408#endif
409
410 Debug("OsirisProxy::MergeWrapper() - Finished merge");
411 return retval;
412}
413
414void OsirisProxy::RuleActionCall(std::function<void (RuleActionNode *, void *, void *, void *, void *)> const & Next, RuleActionNode * Action, void * a1, void * a2, void * a3, void * a4)
415{

Callers

nothing calls this directly

Calls 3

DebugFunction · 0.85
MergeStartedMethod · 0.80
MergeFinishedMethod · 0.80

Tested by

no test coverage detected