- Timestamp:
- 2006-07-15T17:26:13Z (18 years ago)
- Branches:
- master
- Children:
- 0aaca60
- Parents:
- 89a1809
- Location:
- lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/events_glib.c
r89a1809 r04026d4 122 122 gint b_timeout_add(gint timeout, b_event_handler func, gpointer data) 123 123 { 124 gint st = g_timeout_add(timeout, func, data); 124 /* GSourceFunc and the BitlBee event handler function aren't 125 really the same, but they're "compatible". ;-) It will do 126 for now, BitlBee only looks at the "data" argument. */ 127 gint st = g_timeout_add(timeout, (GSourceFunc) func, data); 125 128 126 129 event_debug( "b_timeout_add( %d, %d, %d ) = %d\n", timeout, func, data, st ); -
lib/events_libevent.c
r89a1809 r04026d4 101 101 102 102 /* Since the called function might cancel this handler already 103 (which free()s b_ev , we have to remember the ID here. */103 (which free()s b_ev), we have to remember the ID here. */ 104 104 id = b_ev->id; 105 105
Note: See TracChangeset
for help on using the changeset viewer.