From 9d219eee4b8901d18b0c471205b1cec9fb1f0d1b Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Sun, 12 May 2013 19:09:28 -0700 Subject: New MFS package. --- src/misc/vec/vecInt.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/misc/vec/vecInt.h') diff --git a/src/misc/vec/vecInt.h b/src/misc/vec/vecInt.h index a99e6f29..c821d121 100644 --- a/src/misc/vec/vecInt.h +++ b/src/misc/vec/vecInt.h @@ -255,6 +255,12 @@ static inline Vec_Int_t * Vec_IntDupArray( Vec_Int_t * pVec ) SeeAlso [] ***********************************************************************/ +static inline void Vec_IntZero( Vec_Int_t * p ) +{ + p->pArray = NULL; + p->nSize = 0; + p->nCap = 0; +} static inline void Vec_IntErase( Vec_Int_t * p ) { ABC_FREE( p->pArray ); -- cgit v1.2.3