MCPcopy Create free account
hub / github.com/alliedmodders/sourcemod / GetHandleApproxSize

Method GetHandleApproxSize

core/logic/PluginSys.cpp:1632–1636  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1630}
1631
1632bool CPluginManager::GetHandleApproxSize(HandleType_t type, void *object, unsigned int *pSize)
1633{
1634 *pSize = ((CPlugin *)object)->CalcMemUsage();
1635 return true;
1636}
1637
1638IPlugin *CPluginManager::PluginFromHandle(Handle_t handle, HandleError *err)
1639{

Callers 2

TryAndFreeSomeHandlesMethod · 0.45
DumpMethod · 0.45

Calls 1

CalcMemUsageMethod · 0.45

Tested by

no test coverage detected