aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/yosys.h
diff options
context:
space:
mode:
authorBenedikt Tutzer <e1225461@student.tuwien.ac.at>2018-08-20 14:44:03 +0200
committerBenedikt Tutzer <e1225461@student.tuwien.ac.at>2018-08-20 14:44:03 +0200
commit5864db3c2bf353d4ee124d35aa2f911c4249edbc (patch)
tree2c6962b3114b44f91b3fbe016b9afc5fb38f0a0f /kernel/yosys.h
parentd79a2808cf2446fa21d91a6141f6fbe2318c03ec (diff)
downloadyosys-5864db3c2bf353d4ee124d35aa2f911c4249edbc.tar.gz
yosys-5864db3c2bf353d4ee124d35aa2f911c4249edbc.tar.bz2
yosys-5864db3c2bf353d4ee124d35aa2f911c4249edbc.zip
Fixed issue when using a python plugin in the yosys shell
Diffstat (limited to 'kernel/yosys.h')
-rw-r--r--kernel/yosys.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/yosys.h b/kernel/yosys.h
index 4380a5b69..6ed0f8b20 100644
--- a/kernel/yosys.h
+++ b/kernel/yosys.h
@@ -278,6 +278,11 @@ namespace hashlib {
}
void yosys_setup();
+
+#ifdef WITH_PYTHON
+bool yosys_already_setup();
+#endif
+
void yosys_shutdown();
#ifdef YOSYS_ENABLE_TCL