- Extended confvirtmot to allow for sequences of calls
- Extended confvirtmot to have a checkscript - Made sure that targets get updated when calling tasdrive - Fixed some output codes in tasdrive.c - Made tdchm invoke counters event message for Melone - Fixed the ConID inefficiency by caching the host name in asynnet.c - Added a traceActive function to trace SKIPPED: psi/tdchm.c
This commit is contained in:
14
devexec.c
14
devexec.c
@ -280,7 +280,7 @@ void ExeInterest(pExeList self, pDevEntry pDev, char *text)
|
||||
}
|
||||
}
|
||||
/*------------------------------------------------------------------------*/
|
||||
static void InvokeNewTarget(pExeList self, char *name, float target)
|
||||
void InvokeNewTarget(pExeList self, char *name, float target)
|
||||
{
|
||||
NewTarget targetEvent;
|
||||
|
||||
@ -772,25 +772,35 @@ int CheckExeList(pExeList self)
|
||||
iRet = LLDnodePtr2First(self->iList);
|
||||
return testFinish(self);
|
||||
}
|
||||
/*--------------------------------------------------------------------------
|
||||
Cludge to not move the current pointer for CheckExeList
|
||||
*/
|
||||
void *LLDgetCurrent(int List);
|
||||
void LLDsetCurrent(int List, void *pointer);
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
int DevExecLevelRunning(pExeList self, int level)
|
||||
{
|
||||
int iRet;
|
||||
pDevEntry pDev = NULL;
|
||||
|
||||
void *current;
|
||||
|
||||
if(self->lTask < 0){
|
||||
return 0;
|
||||
}
|
||||
current = LLDgetCurrent(self->iList);
|
||||
iRet = LLDnodePtr2First(self->iList);
|
||||
while (iRet != 0) {
|
||||
LLDnodeDataTo(self->iList, &pDev);
|
||||
if (pDev) {
|
||||
if(pDev->level >= level){
|
||||
LLDsetCurrent(self->iList,current);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
iRet = LLDnodePtr2Next(self->iList);
|
||||
}
|
||||
LLDsetCurrent(self->iList,current);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user