Moving Vec_IntPrint to where it belongs.

This commit is contained in:
Alan Mishchenko 2012-01-29 21:22:26 -08:00
parent 5e91f13247
commit e511b87237
2 changed files with 20 additions and 20 deletions

View File

@ -135,26 +135,6 @@ void Abc_MffcCollectLeaves( Vec_Ptr_t * vNodes, Vec_Ptr_t * vLeaves )
}
}
/**Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
***********************************************************************/
void Vec_IntPrint( Vec_Int_t * vVec )
{
int i, Entry;
Vec_IntForEachEntry( vVec, Entry, i )
printf( "%d ", Entry );
printf( "\n" );
}
/**Function*************************************************************
Synopsis [Collects internal nodes that are roots of MFFCs.]

View File

@ -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