diff options
Diffstat (limited to 'otherlibs/labltk/support/cltkEval.c')
-rw-r--r-- | otherlibs/labltk/support/cltkEval.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/otherlibs/labltk/support/cltkEval.c b/otherlibs/labltk/support/cltkEval.c index ae86452f2..5c9aeac12 100644 --- a/otherlibs/labltk/support/cltkEval.c +++ b/otherlibs/labltk/support/cltkEval.c @@ -30,7 +30,12 @@ #include "camltk.h" /* The Tcl interpretor */ -CAMLprim Tcl_Interp *cltclinterp = NULL; +Tcl_Interp *cltclinterp = NULL; + +CAMLexport Tcl_Interp * get_cltclinterp(void) +{ + return cltclinterp; +} /* Copy a list of strings from the C heap to Caml */ value copy_string_list(int argc, char **argv) |