From 3577d2c1fa3faa196a80e4867ab099f0fe6f3318 Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Thu, 10 Jul 2003 09:04:54 +0000 Subject: Meilleure solution au probleme des CAMLprim dans camltk.h git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5680 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02 --- otherlibs/labltk/support/cltkEval.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'otherlibs/labltk/support/cltkEval.c') 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) -- cgit v1.2.3-70-g09d2