- Timestamp:
- 2007-11-29T21:55:14Z (17 years ago)
- Branches:
- master
- Children:
- 4306d8b, 94d52d64
- Parents:
- b6a2373
- Location:
- lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/events.h
rb6a2373 r9ff5737 45 45 #include <gmodule.h> 46 46 47 /* The conditions you can pass to gaim_input_add()/that will be passed to47 /* The conditions you can pass to b_input_add()/that will be passed to 48 48 the given callback function. */ 49 49 typedef enum { … … 58 58 #define GAIM_ERR_COND (G_IO_HUP | G_IO_ERR | G_IO_NVAL) 59 59 60 / / #define event_debug( x... ) printf( x )60 /* #define event_debug( x... ) printf( x ) */ 61 61 #define event_debug( x... ) 62 62 -
lib/events_libevent.c
rb6a2373 r9ff5737 32 32 #include <unistd.h> 33 33 #include <sys/types.h> 34 #include "proxy.h"35 36 34 #include <sys/time.h> 37 35 #include <event.h> 36 #include "proxy.h" 38 37 39 38 static void b_main_restart(); 40 41 39 static guint id_next = 1; 42 40 static GHashTable *id_hash; … … 93 91 } 94 92 95 printf( "New event loop.\n" );93 event_debug( "New event loop.\n" ); 96 94 } 97 95 } … … 104 102 event_base_loopexit( leh, &tv ); 105 103 106 printf( "b_main_restart()\n" );104 event_debug( "b_main_restart()\n" ); 107 105 } 108 106
Note: See TracChangeset
for help on using the changeset viewer.