abc/src/aig/ivy/ivyFanout.c
/**Function*************************************************************

  Synopsis    [Starts iteration through the fanouts.]

  Description [Copies the currently available fanouts into the array.]
               
  SideEffects [Can be used while the fanouts are being removed.]

  SeeAlso     []

***********************************************************************/
Function
Synopsis    [Starts iteration through the fanouts.]

Description [Copies the currently available fanouts into the array.]

SideEffects [Can be used while the fanouts are being removed.]


Function Synopsis [ Starts iteration through the fanouts . ] Description [ Copies the currently available fanouts into the array . ] SideEffects [ Can be used while the fanouts are being removed . ]
void Ivy_ObjCollectFanouts( Ivy_Man_t * p, Ivy_Obj_t * pObj, Vec_Ptr_t * vArray )
{
    Ivy_Obj_t * pFanout;
    assert( p->fFanout );
    assert( !Ivy_IsComplement(pObj) );
    Vec_PtrClear( vArray );
    Ivy_ObjForEachFanoutInt( pObj, pFanout )
        Vec_PtrPush( vArray, pFanout );
}
void Ivy_ObjCollectFanouts ( Ivy_Man_t * p , Ivy_Obj_t * pObj , Vec_Ptr_t * vArray ) { Ivy_Obj_t * pFanout ; assert ( p -> fFanout ) ; assert ( ! Ivy_IsComplement ( pObj ) ) ; Vec_PtrClear ( vArray ) ; Ivy_ObjForEachFanoutInt ( pObj , pFanout ) Vec_PtrPush ( vArray , pFanout ) ; }
Function
Synopsis    [Starts iteration through the fanouts.]
Function Synopsis [ Starts iteration through the fanouts . ]