MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / CmdBookmarkClear

Function CmdBookmarkClear

source/Debugger/Debug.cpp:651–670  ·  view source on GitHub ↗

===========================================================================

Source from the content-addressed store, hash-verified

649
650//===========================================================================
651Update_t CmdBookmarkClear (int nArgs)
652{
653 int iBookmark = 0;
654
655 int iArg;
656 for (iArg = 1; iArg <= nArgs; iArg++ )
657 {
658 if (! strcmp(g_aArgs[nArgs].sArg, g_aParameters[ PARAM_WILDSTAR ].m_sName))
659 {
660 _Bookmark_Reset();
661 break;
662 }
663
664 iBookmark = g_aArgs[ iArg ].nValue;
665 if (g_aBookmarks[ iBookmark ].bSet)
666 _Bookmark_Del(g_aBookmarks[ iBookmark ].nAddress);
667 }
668
669 return UPDATE_DISASM;
670}
671
672
673//===========================================================================

Callers

nothing calls this directly

Calls 2

_Bookmark_ResetFunction · 0.85
_Bookmark_DelFunction · 0.85

Tested by

no test coverage detected