plugins/tcl/tcl_glib.c

changeset 7822
4a66fd01bdf2
parent 6694
2354eced08e8
child 7831
54076c9af6ad
equal deleted inserted replaced
7821:d15fc781c318 7822:4a66fd01bdf2
77 77
78 void tcl_glib_init () 78 void tcl_glib_init ()
79 { 79 {
80 Tcl_NotifierProcs notifier; 80 Tcl_NotifierProcs notifier;
81 81
82 memset(&notifier, 0, sizeof(notifier));
83
82 notifier.createFileHandlerProc = tcl_create_file_handler; 84 notifier.createFileHandlerProc = tcl_create_file_handler;
83 notifier.deleteFileHandlerProc = tcl_delete_file_handler; 85 notifier.deleteFileHandlerProc = tcl_delete_file_handler;
84 notifier.setTimerProc = tcl_set_timer; 86 notifier.setTimerProc = tcl_set_timer;
85 notifier.waitForEventProc = tcl_wait_for_event; 87 notifier.waitForEventProc = tcl_wait_for_event;
86 88

mercurial