Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
12526
bool CanWidenTo(PClass * from, PClass * to)
12527
{
12528
return to->IsAncestorOf(from);
12529
}
12530
12531
static bool AreCompatibleFnPtrTypes(PPrototype *to, PPrototype *from)
12532
{
Callers
1
AreCompatibleFnPtrTypes
Function · 0.85
Calls
1
IsAncestorOf
Method · 0.80
Tested by
no test coverage detected