2002-04-26 05:16:26 -07:00
|
|
|
/***********************************************************************/
|
|
|
|
/* */
|
|
|
|
/* MLTk, Tcl/Tk interface of Objective Caml */
|
|
|
|
/* */
|
|
|
|
/* Francois Rouaix, Francois Pessaux, Jun Furuse and Pierre Weis */
|
|
|
|
/* projet Cristal, INRIA Rocquencourt */
|
|
|
|
/* Jacques Garrigue, Kyoto University RIMS */
|
|
|
|
/* */
|
|
|
|
/* Copyright 2002 Institut National de Recherche en Informatique et */
|
|
|
|
/* en Automatique and Kyoto University. All rights reserved. */
|
|
|
|
/* This file is distributed under the terms of the GNU Library */
|
|
|
|
/* General Public License, with the special exception on linking */
|
|
|
|
/* described in file LICENSE found in the Objective Caml source tree. */
|
|
|
|
/* */
|
|
|
|
/***********************************************************************/
|
|
|
|
#include <tk.h>
|
|
|
|
#include <mlvalues.h>
|
|
|
|
#include "camltk.h"
|
|
|
|
|
2003-04-28 00:42:20 -07:00
|
|
|
extern int Tkanim_Init(Tcl_Interp *);
|
|
|
|
|
2003-07-10 02:04:54 -07:00
|
|
|
CAMLprim value tkanim_init (rien) /* ML */
|
2002-04-26 05:16:26 -07:00
|
|
|
value rien;
|
|
|
|
{
|
2003-07-10 02:18:02 -07:00
|
|
|
if (Tkanim_Init(cltclinterp) != TCL_OK)
|
2002-04-26 05:16:26 -07:00
|
|
|
tk_error ("Can't initialize TkAnim");
|
|
|
|
return Val_unit;
|
|
|
|
}
|