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

Function CanWidenTo

source/common/scripting/backend/codegen.cpp:12526–12529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12524}
12525
12526bool CanWidenTo(PClass * from, PClass * to)
12527{
12528 return to->IsAncestorOf(from);
12529}
12530
12531static bool AreCompatibleFnPtrTypes(PPrototype *to, PPrototype *from)
12532{

Callers 1

AreCompatibleFnPtrTypesFunction · 0.85

Calls 1

IsAncestorOfMethod · 0.80

Tested by

no test coverage detected