summaryrefslogtreecommitdiffstats
path: root/src/misc/vec/vecInt.h
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2013-05-05 09:04:14 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2013-05-05 09:04:14 -0700
commiteacfad762271794965d428cacd1ce56fbc575f93 (patch)
treed4f004b991b412bce177d4637a8322bd26a1f9cd /src/misc/vec/vecInt.h
parent7d3301584a82b06e9c6a887e02554bc6a14bec5e (diff)
downloadabc-eacfad762271794965d428cacd1ce56fbc575f93.tar.gz
abc-eacfad762271794965d428cacd1ce56fbc575f93.tar.bz2
abc-eacfad762271794965d428cacd1ce56fbc575f93.zip
Changing the queue to work in the same the array of costs is realloced.
Diffstat (limited to 'src/misc/vec/vecInt.h')
-rw-r--r--src/misc/vec/vecInt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/misc/vec/vecInt.h b/src/misc/vec/vecInt.h
index 2fe15792..a99e6f29 100644
--- a/src/misc/vec/vecInt.h
+++ b/src/misc/vec/vecInt.h
@@ -321,6 +321,10 @@ static inline int * Vec_IntArray( Vec_Int_t * p )
{
return p->pArray;
}
+static inline int ** Vec_IntArrayP( Vec_Int_t * p )
+{
+ return &p->pArray;
+}
/**Function*************************************************************