Пример #1
0
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);
}
Пример #2
0
static void event_cb_wrap(void* data,int fd,PurpleInputCondition action)
{
    LwqqAsyncIoWrap* wrap = data;
    if(wrap->callback)
        wrap->callback(wrap->data,fd,action);
}
Пример #3
0
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);
}