Commit 3945d382 by Alan Mishchenko

Adding new API to the queue.

parent e3f9c4c1
...@@ -213,6 +213,10 @@ static inline void Vec_QueUpdate( Vec_Que_t * p, int v ) ...@@ -213,6 +213,10 @@ static inline void Vec_QueUpdate( Vec_Que_t * p, int v )
SeeAlso [] SeeAlso []
***********************************************************************/ ***********************************************************************/
static inline int Vec_QueIsMember( Vec_Que_t * p, int v )
{
return (int)( p->pOrder[v] >= 0 );
}
static inline void Vec_QuePush( Vec_Que_t * p, int v ) static inline void Vec_QuePush( Vec_Que_t * p, int v )
{ {
if ( p->nSize == p->nCap ) if ( p->nSize == p->nCap )
......
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