From 993c2027d8c250e07996dfda2f11fe6eecb46f15 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Sat, 31 Mar 2012 16:33:22 -0700 Subject: Added several new APIs. --- src/misc/vec/vecInt.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/misc/vec/vecInt.h') diff --git a/src/misc/vec/vecInt.h b/src/misc/vec/vecInt.h index 4422fc85..fe6e98dd 100644 --- a/src/misc/vec/vecInt.h +++ b/src/misc/vec/vecInt.h @@ -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 [] -- cgit v1.2.3