added sm_dump_handles command for tracking down Handle leaks... more to come someday

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40906
This commit is contained in:
David Anderson
2007-06-07 02:36:54 +00:00
parent 897135194b
commit 00e9d047c7
5 changed files with 88 additions and 0 deletions
+10
View File
@@ -1961,3 +1961,13 @@ void CPluginManager::AddFunctionsToForward(const char *name, IChangeableForward
}
}
}
CPlugin *CPluginManager::GetPluginFromIdentity(IdentityToken_t *pToken)
{
if (pToken->type != g_PluginIdent)
{
return NULL;
}
return (CPlugin *)(pToken->ptr);
}