MCPcopy Create free account
hub / github.com/ZDoom/Raze / FindFunction

Method FindFunction

source/common/objects/dobjtype.cpp:987–994  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

985}
986
987VMFunction *PClass::FindFunction(FName clsname, FName funcname)
988{
989 auto cls = PClass::FindClass(clsname);
990 if (!cls) return nullptr;
991 auto func = dyn_cast<PFunction>(cls->FindSymbol(funcname, true));
992 if (!func) return nullptr;
993 return func->Variants[0].Implementation;
994}
995
996void PClass::FindFunction(VMFunction **pptr, FName clsname, FName funcname)
997{

Callers

nothing calls this directly

Calls 2

FindSymbolMethod · 0.45
PushMethod · 0.45

Tested by

no test coverage detected