library/src/blockclass/BP-BlockClass.cc
// destroys all conditions in the debugHandle
destroys all conditions in the debugHandle
destroys all conditions in the debugHandle
int Block::DestroyConditions()
{
	if(!dbgHandle)
		return ERR_FAILURE;
	int retCondition = 0;
	if (dbgHandle->conditions)
	{
		retCondition = DestroyConditionList(dbgHandle->conditions);
		dbgHandle->conditions = NULL;
	}
	return retCondition;
}
int Block :: DestroyConditions ( ) { if ( ! dbgHandle ) return ERR_FAILURE ; int retCondition = 0 ; if ( dbgHandle -> conditions ) { retCondition = DestroyConditionList ( dbgHandle -> conditions ) ; dbgHandle -> conditions = NULL ; } return retCondition ; }
destroys all conditions in the debugHandle
destroys all conditions in the debugHandle
// ensure we have a debug handle // init ret value // if we have conditions, attempt to destroy them // return value of destroy operation