summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaruch Sterin <baruchs@gmail.com>2012-04-20 15:40:28 -0700
committerBaruch Sterin <baruchs@gmail.com>2012-04-20 15:40:28 -0700
commitc4911370bbcf09e675e61ff49117bc91cc92ebc1 (patch)
treeeabb8a326283cef34c211aa5ec455c06044e914d
parente822a1f8c78587d2ca8b826e62295a643056890f (diff)
downloadabc-c4911370bbcf09e675e61ff49117bc91cc92ebc1.tar.gz
abc-c4911370bbcf09e675e61ff49117bc91cc92ebc1.tar.bz2
abc-c4911370bbcf09e675e61ff49117bc91cc92ebc1.zip
pyabc: minor fixes to make API changes work
-rw-r--r--src/python/pyabc.i4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/python/pyabc.i b/src/python/pyabc.i
index 84de6ed6..a40cded9 100644
--- a/src/python/pyabc.i
+++ b/src/python/pyabc.i
@@ -109,7 +109,7 @@ int n_levels()
if ( pNtk )
{
- return Abc_NtkLevelNum(pNtk);
+ return Abc_NtkLevel(pNtk);
}
return -1;
@@ -602,9 +602,11 @@ void _set_death_signal()
%}
int n_ands();
+int n_nodes();
int n_pis();
int n_pos();
int n_latches();
+int n_levels();
int run_command(char* cmd);