Commit f2945e12 by Alan Mishchenko

Upgrading epd and mtr packages to be compatible with the latest release of CUDD 2.4.2

parent e3f2dde1
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <math.h> #include <math.h>
#include "util.h" #include "util_hack.h"
#include "epd.h" #include "epd.h"
ABC_NAMESPACE_IMPL_START ABC_NAMESPACE_IMPL_START
...@@ -73,7 +73,7 @@ EpdAlloc(void) ...@@ -73,7 +73,7 @@ EpdAlloc(void)
{ {
EpDouble *epd; EpDouble *epd;
epd = ALLOC(EpDouble, 1); epd = ABC_ALLOC(EpDouble, 1);
return(epd); return(epd);
} }
...@@ -116,7 +116,7 @@ EpdCmp(const char *key1, const char *key2) ...@@ -116,7 +116,7 @@ EpdCmp(const char *key1, const char *key2)
void void
EpdFree(EpDouble *epd) EpdFree(EpDouble *epd)
{ {
FREE(epd); ABC_FREE(epd);
} }
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
******************************************************************************/ ******************************************************************************/
#include "util.h" #include "util_hack.h"
#include "mtrInt.h" #include "mtrInt.h"
ABC_NAMESPACE_IMPL_START ABC_NAMESPACE_IMPL_START
...@@ -119,7 +119,7 @@ Mtr_AllocNode(void) ...@@ -119,7 +119,7 @@ Mtr_AllocNode(void)
{ {
MtrNode *node; MtrNode *node;
node = ALLOC(MtrNode,1); node = ABC_ALLOC(MtrNode,1);
return node; return node;
} /* Mtr_AllocNode */ } /* Mtr_AllocNode */
...@@ -140,7 +140,7 @@ void ...@@ -140,7 +140,7 @@ void
Mtr_DeallocNode( Mtr_DeallocNode(
MtrNode * node /* node to be deallocated */) MtrNode * node /* node to be deallocated */)
{ {
FREE(node); ABC_FREE(node);
return; return;
} /* end of Mtr_DeallocNode */ } /* end of Mtr_DeallocNode */
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
******************************************************************************/ ******************************************************************************/
#include "util.h" #include "util_hack.h"
#include "mtrInt.h" #include "mtrInt.h"
ABC_NAMESPACE_IMPL_START ABC_NAMESPACE_IMPL_START
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment