From 10478a9cbf37432cb70e8b1ae58d79375d72c5c8 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Sun, 15 Jan 2012 20:47:58 -0800 Subject: Variable timeframe abstraction. --- src/misc/vec/vecVec.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'src/misc/vec/vecVec.h') diff --git a/src/misc/vec/vecVec.h b/src/misc/vec/vecVec.h index 5405e7f4..91713291 100644 --- a/src/misc/vec/vecVec.h +++ b/src/misc/vec/vecVec.h @@ -586,6 +586,29 @@ static inline void Vec_VecSort( Vec_Vec_t * p, int fReverse ) (int (*)(const void *, const void *)) Vec_VecSortCompare1 ); } +/**Function************************************************************* + + Synopsis [] + + Description [] + + SideEffects [] + + SeeAlso [] + +***********************************************************************/ +static inline void Vec_VecPrintInt( Vec_Vec_t * p ) +{ + int i, k, Entry; + printf( "Integers by level" ); + Vec_VecForEachEntryInt( p, Entry, i, k ) + { + if ( k == 0 ) + printf( "\n%3d : ", i ); + printf( "%6d ", Entry ); + } + printf( "\n" ); +} ABC_NAMESPACE_HEADER_END -- cgit v1.2.3