diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2010-11-01 01:35:04 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2010-11-01 01:35:04 -0700 |
commit | 6130e39b18b5f53902e4eab14f6d5cdde5219563 (patch) | |
tree | 0db0628479a1b750e9af1f66cb8379ebd0913d31 /src/bdd/cudd/cuddSplit.c | |
parent | f0e77f6797c0504b0da25a56152b707d3357f386 (diff) | |
download | abc-6130e39b18b5f53902e4eab14f6d5cdde5219563.tar.gz abc-6130e39b18b5f53902e4eab14f6d5cdde5219563.tar.bz2 abc-6130e39b18b5f53902e4eab14f6d5cdde5219563.zip |
initial commit of public abc
Diffstat (limited to 'src/bdd/cudd/cuddSplit.c')
-rw-r--r-- | src/bdd/cudd/cuddSplit.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/bdd/cudd/cuddSplit.c b/src/bdd/cudd/cuddSplit.c index 1f9a0425..bad35d60 100644 --- a/src/bdd/cudd/cuddSplit.c +++ b/src/bdd/cudd/cuddSplit.c @@ -35,6 +35,9 @@ #include "util_hack.h" #include "cuddInt.h" +ABC_NAMESPACE_IMPL_START + + /*---------------------------------------------------------------------------*/ /* Constant declarations */ /*---------------------------------------------------------------------------*/ @@ -150,7 +153,7 @@ Cudd_SplitSet( cuddRef(result); ABC_FREE(varSeen); } else { - mtable = st_init_table(st_ptrcmp,st_ptrhash); + mtable = st_init_table(st_ptrcmp, st_ptrhash);; if (mtable == NULL) { (void) fprintf(manager->out, "Cudd_SplitSet: out-of-memory.\n"); @@ -164,7 +167,7 @@ Cudd_SplitSet( */ num = bddAnnotateMintermCount(manager,S,max,mtable); if (m == num) { - st_foreach(mtable,cuddStCountfree,NIL(char)); + st_foreach(mtable,(ST_PFSR)cuddStCountfree,NIL(char)); st_free_table(mtable); ABC_FREE(varSeen); return(S); @@ -173,7 +176,7 @@ Cudd_SplitSet( result = cuddSplitSetRecur(manager,mtable,varSeen,S,m,max,0); if (result) cuddRef(result); - st_foreach(mtable,cuddStCountfree,NULL); + st_foreach(mtable,(ST_PFSR)cuddStCountfree,NULL); st_free_table(mtable); ABC_FREE(varSeen); } @@ -655,3 +658,5 @@ bddAnnotateMintermCount( return(min_N); } /* end of bddAnnotateMintermCount */ +ABC_NAMESPACE_IMPL_END + |