From c4911370bbcf09e675e61ff49117bc91cc92ebc1 Mon Sep 17 00:00:00 2001 From: Baruch Sterin Date: Fri, 20 Apr 2012 15:40:28 -0700 Subject: pyabc: minor fixes to make API changes work --- src/python/pyabc.i | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3