mirror of https://github.com/YosysHQ/abc.git
Moving Vec_IntPrint to where it belongs.
This commit is contained in:
parent
5e91f13247
commit
e511b87237
|
|
@ -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.]
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue