diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2001-08-28 14:47:48 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2001-08-28 14:47:48 +0000 |
commit | ddd99c7e5d2f0f8e7364e8521fa7e8308999344e (patch) | |
tree | 3c0158d035a52c0cf185c08c3288c3c76d6718d0 /otherlibs/labltk/support/cltkTimer.c | |
parent | c345611817d76ccc3bbd02db1f942774220739f9 (diff) |
Chargement dynamique de primitives C
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3677 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/labltk/support/cltkTimer.c')
-rw-r--r-- | otherlibs/labltk/support/cltkTimer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/labltk/support/cltkTimer.c b/otherlibs/labltk/support/cltkTimer.c index a3d3d3cac..fec7bfb2a 100644 --- a/otherlibs/labltk/support/cltkTimer.c +++ b/otherlibs/labltk/support/cltkTimer.c @@ -28,7 +28,7 @@ void TimerProc (ClientData clientdata) callback2(*handler_code,Val_long(clientdata),Val_int(0)); } -value camltk_add_timer(value milli, value cbid) /* ML */ +CAMLprim value camltk_add_timer(value milli, value cbid) { CheckInit(); /* look at tkEvent.c , Tk_Token is an int */ @@ -36,7 +36,7 @@ value camltk_add_timer(value milli, value cbid) /* ML */ (ClientData) (Int_val(cbid))))); } -value camltk_rem_timer(value token) /* ML */ +CAMLprim value camltk_rem_timer(value token) { Tcl_DeleteTimerHandler((Tcl_TimerToken) Int_val(token)); return Val_unit; |