MCPcopy Create free account
hub / github.com/doldecomp/mkdd / appendConsole

Method appendConsole

libs/JSystem/JUtility/JUTConsole.cpp:415–427  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413#endif
414
415void JUTConsoleManager::appendConsole(JUTConsole *const console)
416{
417#line 961
418 JUT_ASSERT(sManager != 0 && console != 0);
419
420 // not sure why this assert was 3 lines later
421 JUT_ASSERT(soLink_.Find( console ) == soLink_.end());
422 soLink_.Push_back(console);
423 if (mActiveConsole == nullptr)
424 {
425 mActiveConsole = console;
426 }
427}
428
429void JUTConsoleManager::removeConsole(JUTConsole *const console)
430{

Callers 1

createMethod · 0.80

Calls 3

Push_backMethod · 0.80
FindMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected