Changeset b15cbc4
- Timestamp:
- 2020-03-17T11:29:47Z (5 years ago)
- Branches:
- master
- Children:
- c479242
- Parents:
- 3a547ee
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/events.h
r3a547ee rb15cbc4 70 70 G_MODULE_EXPORT void b_main_quit(); 71 71 72 G_MODULE_EXPORT void b_main_iteration(); 73 72 74 73 75 /* Add event handlers (for I/O or a timeout). The event handler will be called -
lib/events_glib.c
r3a547ee rb15cbc4 63 63 { 64 64 g_main_quit(loop); 65 } 66 67 void b_main_iteration() 68 { 69 g_main_iteration(FALSE); 70 event_debug("b_main_iteration()\n"); 65 71 } 66 72 -
lib/events_libevent.c
r3a547ee rb15cbc4 112 112 113 113 b_main_restart(); 114 } 115 116 void b_main_iteration() 117 { 118 event_base_loop(leh, EVLOOP_NONBLOCK); 119 event_debug("b_main_iteration()\n"); 114 120 } 115 121 -
tests/check_irc.c
r3a547ee rb15cbc4 6 6 #include <stdio.h> 7 7 #include "irc.h" 8 #include "events.h" 8 9 #include "testsuite.h" 9 10 … … 43 44 fail_unless(g_io_channel_flush(ch2, NULL) == G_IO_STATUS_NORMAL); 44 45 45 g_main_iteration(FALSE);46 b_main_iteration(); 46 47 irc_free(irc); 47 48
Note: See TracChangeset
for help on using the changeset viewer.