mirror of
https://github.com/YosysHQ/abc.git
synced 2026-09-07 11:11:19 +02:00
Added several new APIs.
This commit is contained in:
@@ -246,6 +246,24 @@ static inline Vec_Int_t * Vec_IntDupArray( Vec_Int_t * pVec )
|
||||
return p;
|
||||
}
|
||||
|
||||
/**Function*************************************************************
|
||||
|
||||
Synopsis []
|
||||
|
||||
Description []
|
||||
|
||||
SideEffects []
|
||||
|
||||
SeeAlso []
|
||||
|
||||
***********************************************************************/
|
||||
static inline void Vec_IntErase( Vec_Int_t * p )
|
||||
{
|
||||
p->pArray = NULL;
|
||||
p->nSize = 0;
|
||||
p->nCap = 0;
|
||||
}
|
||||
|
||||
/**Function*************************************************************
|
||||
|
||||
Synopsis []
|
||||
|
||||
Reference in New Issue
Block a user