MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / getMacroEditFromMacro

Function getMacroEditFromMacro

lib/utils/temp-variable.cpp:617–627  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

615}
616
617static MacroEdit *
618getMacroEditFromMacro(const std::vector<MacroEdit *> &macroEdits, Macro *macro)
619{
620 for (const auto edit : macroEdits) {
621 if (macro == edit->GetMacro().get()) {
622 return edit;
623 }
624 }
625
626 return nullptr;
627}
628
629void TempVariableSelection::HighlightSelection(const TempVariableRef &var)
630{

Callers 1

HighlightSelectionMethod · 0.85

Calls 2

getMethod · 0.45
GetMacroMethod · 0.45

Tested by

no test coverage detected