Commit a4518e6f by Alan Mishchenko

Various changes.

parent fb6e4ee2
......@@ -736,6 +736,14 @@ static inline int Vec_PtrFind( Vec_Ptr_t * p, void * Entry )
return i;
return -1;
}
static inline int Vec_PtrFindStr( Vec_Ptr_t * p, char * Entry )
{
int i;
for ( i = 0; i < p->nSize; i++ )
if ( p->pArray[i] && !strcmp((char *)p->pArray[i], Entry) )
return i;
return -1;
}
/**Function*************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment