aboutsummaryrefslogtreecommitdiff
path: root/tcl_setup.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tcl_setup.cxx')
-rw-r--r--tcl_setup.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcl_setup.cxx b/tcl_setup.cxx
index a1c66bb..93ba404 100644
--- a/tcl_setup.cxx
+++ b/tcl_setup.cxx
@@ -39,6 +39,7 @@ void tclpd_setup(void) {
Tcl_SetVar(tcl_for_pd, "DIR", dirresult, 0);
Tcl_Eval(tcl_for_pd, "set auto_path [linsert $auto_path $DIR]");
+ Tcl_Eval(tcl_for_pd, "package provide Tclpd " TCLPD_VERSION);
if(Tcl_Eval(tcl_for_pd, "source $DIR/tcl.tcl") == TCL_OK) {
post("Tcl loader: loaded %s/tcl.tcl", dirresult);