From d567e908db2e1acec01d0798bd7e8af6c084dba4 Mon Sep 17 00:00:00 2001 From: hattenberger Date: Wed, 1 May 2013 22:48:44 +0000 Subject: remove accidental trunk dir --- trunk/ctkivy.c | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 trunk/ctkivy.c (limited to 'trunk/ctkivy.c') diff --git a/trunk/ctkivy.c b/trunk/ctkivy.c deleted file mode 100644 index 87b7eb6..0000000 --- a/trunk/ctkivy.c +++ /dev/null @@ -1,36 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "ivytcl.h" - -extern void cb_delete_channel(void *delete_read); -extern void cb_read_channel(Channel ch, IVY_HANDLE fd, void *closure); - -value ivy_TclmainLoop(value unit) -{ - Tk_MainLoop(); - return Val_unit; -} - - -value ivy_TclchannelSetUp(value fd, value closure_name) -{ - Channel c; - value * closure = caml_named_value(String_val(closure_name)); - - c = IvyTclChannelSetUp((IVY_HANDLE)Int_val(fd), (void*)closure, cb_delete_channel, cb_read_channel); - return Val_int(c); -} - -value ivy_TclchannelClose(value ch) -{ - IvyTclChannelClose((Channel)Int_val(ch)); - return Val_unit; -} -- cgit v1.1