Move sm_dump_handles to core/logic.

This commit is contained in:
David Anderson
2015-09-20 14:33:10 -07:00
parent c853050265
commit 168b779786
8 changed files with 74 additions and 82 deletions
-6
View File
@@ -109,11 +109,6 @@ static void AddNatives(sp_nativeinfo_t *natives)
g_CoreNatives.AddNatives(natives);
}
static void DumpHandles(void (*dumpfn)(const char *fmt, ...))
{
g_HandleSys.Dump(dumpfn);
}
static void RegisterProfiler(IProfilingTool *tool)
{
g_ProfileToolManager.RegisterTool(tool);
@@ -154,7 +149,6 @@ static sm_logic_t logic =
&g_DbgReporter,
GenerateError,
AddNatives,
DumpHandles,
RegisterProfiler,
OnRootCommand,
CDataPack::New,