summaryrefslogtreecommitdiff
path: root/kernel/register.h
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-05-23 12:56:23 +0200
committerClifford Wolf <clifford@clifford.at>2013-05-23 12:56:23 +0200
commitcbe423a1fe67a9f7154d56d968fb059a4f92f2ad (patch)
tree8bba6075296ef906732177f9b0a3927d0138f870 /kernel/register.h
parent375f83c5ecde82226c33fbfb89463e92548ecf63 (diff)
Only initialize TCL interpreter when needed
Diffstat (limited to 'kernel/register.h')
-rw-r--r--kernel/register.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/register.h b/kernel/register.h
index 2f664e7c..5bd8216c 100644
--- a/kernel/register.h
+++ b/kernel/register.h
@@ -28,8 +28,8 @@
#ifdef YOSYS_ENABLE_TCL
#include <tcl.h>
-extern Tcl_Interp *yosys_tcl;
-extern RTLIL::Design *yosys_tcl_design;
+extern Tcl_Interp *yosys_get_tcl_interp();
+extern RTLIL::Design *yosys_get_tcl_design();
#endif
struct Pass