summaryrefslogtreecommitdiffstats
path: root/src/if_tcl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/if_tcl.c')
-rw-r--r--src/if_tcl.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/if_tcl.c b/src/if_tcl.c
index f3f4b0798a..4838e31976 100644
--- a/src/if_tcl.c
+++ b/src/if_tcl.c
@@ -248,6 +248,14 @@ vim_tcl_init(char *arg)
#endif
}
+#if defined(EXITFREE) || defined(PROTO)
+ void
+vim_tcl_finalize(void)
+{
+ Tcl_Finalize();
+}
+#endif
+
#if defined(DYNAMIC_TCL) || defined(PROTO)
static int stubs_initialized = FALSE;