From 08d2b31046bfccdfe1239344eb5114ea01301f06 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Mon, 21 Nov 2005 08:01:00 -0800 Subject: Version abc51121 --- src/misc/vec/vecInt.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/misc/vec/vecInt.h') diff --git a/src/misc/vec/vecInt.h b/src/misc/vec/vecInt.h index c46db454..3c767f20 100644 --- a/src/misc/vec/vecInt.h +++ b/src/misc/vec/vecInt.h @@ -296,6 +296,23 @@ static inline void Vec_IntWriteEntry( Vec_Int_t * p, int i, int Entry ) p->pArray[i] = Entry; } +/**Function************************************************************* + + Synopsis [] + + Description [] + + SideEffects [] + + SeeAlso [] + +***********************************************************************/ +static inline void Vec_IntAddToEntry( Vec_Int_t * p, int i, int Addition ) +{ + assert( i >= 0 && i < p->nSize ); + p->pArray[i] += Addition; +} + /**Function************************************************************* Synopsis [] -- cgit v1.2.3