summaryrefslogtreecommitdiffstats
path: root/src/misc/vec/vecInt.h
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2012-01-29 21:22:26 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2012-01-29 21:22:26 -0800
commite511b872370f8f9928b08381ff53f2b8a3669ba7 (patch)
tree4026a23ebc0ce285c3f2dbb796550fd37c11e31d /src/misc/vec/vecInt.h
parent5e91f13247eddd977fdf6339fde5e7cef997aaf5 (diff)
downloadabc-e511b872370f8f9928b08381ff53f2b8a3669ba7.tar.gz
abc-e511b872370f8f9928b08381ff53f2b8a3669ba7.tar.bz2
abc-e511b872370f8f9928b08381ff53f2b8a3669ba7.zip
Moving Vec_IntPrint to where it belongs.
Diffstat (limited to 'src/misc/vec/vecInt.h')
-rw-r--r--src/misc/vec/vecInt.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/misc/vec/vecInt.h b/src/misc/vec/vecInt.h
index 0d18f973..5a25d2c9 100644
--- a/src/misc/vec/vecInt.h
+++ b/src/misc/vec/vecInt.h
@@ -1237,6 +1237,26 @@ static inline void Vec_IntSelectSort( int * pArray, int nSize )
}
}
+/**Function*************************************************************
+
+ Synopsis []
+
+ Description []
+
+ SideEffects []
+
+ SeeAlso []
+
+***********************************************************************/
+static inline void Vec_IntPrint( Vec_Int_t * vVec )
+{
+ int i, Entry;
+ printf( "Vector has %d entries: {", Vec_IntSize(vVec) );
+ Vec_IntForEachEntry( vVec, Entry, i )
+ printf( " %d", Entry );
+ printf( " }\n" );
+}
+
ABC_NAMESPACE_HEADER_END