summaryrefslogtreecommitdiffstats
path: root/src/misc/vec/vecInt.h
diff options
context:
space:
mode:
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