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

Method GetHandleApproxSize

core/logic/smn_adt_stack.cpp:60–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 delete array;
59 }
60 bool GetHandleApproxSize(HandleType_t type, void *object, unsigned int *pSize)
61 {
62 CellArray *pArray = (CellArray *)object;
63 *pSize = sizeof(CellArray) + pArray->mem_usage();
64 return true;
65 }
66} s_CellStackHelpers;
67
68static cell_t CreateStack(IPluginContext *pContext, const cell_t *params)

Callers

nothing calls this directly

Calls 1

mem_usageMethod · 0.45

Tested by

no test coverage detected