static void event_cb_wrap(EV_P_ ev_io *w,int action) { if(global_quit_lock) return; LwqqAsyncIoWrap* wrap = w->data; if(wrap->callback) wrap->callback(wrap->data,w->fd,action); }
static void event_cb_wrap(void* data,int fd,PurpleInputCondition action) { LwqqAsyncIoWrap* wrap = data; if(wrap->callback) wrap->callback(wrap->data,fd,action); }
static void event_cb_wrap(EV_P_ ev_io *w,int action) { LwqqAsyncIoWrap* wrap = w->data; if(wrap->callback) wrap->callback(wrap->data,w->fd,action); }