Version abc50809

This commit is contained in:
Alan Mishchenko
2005-08-09 08:01:00 -07:00
parent bd640142e0
commit 273ba03041
30 changed files with 2560 additions and 28 deletions
+23
View File
@@ -428,6 +428,29 @@ static inline int Vec_IntPop( Vec_Int_t * p )
return p->pArray[--p->nSize];
}
/**Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
***********************************************************************/
static inline void Vec_IntRemove( Vec_Int_t * p, int Entry )
{
int i;
for ( i = 0; i < p->nSize; i++ )
if ( p->pArray[i] == Entry )
break;
assert( i < p->nSize );
for ( i++; i < p->nSize; i++ )
p->pArray[i-1] = p->pArray[i];
p->nSize--;
}
/**Function*************************************************************
Synopsis [Comparison procedure for two integers.]