ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/EV-Glib/Glib.xs
(Generate patch)

Comparing EV-Glib/Glib.xs (file contents):
Revision 1.3 by root, Sat Dec 8 03:17:40 2007 UTC vs.
Revision 1.4 by root, Sat Dec 8 03:17:46 2007 UTC

41 GPollFD *pfd = (GPollFD *)w->data; 41 GPollFD *pfd = (GPollFD *)w->data;
42 42
43 pfd->revents |= pfd->events & 43 pfd->revents |= pfd->events &
44 ((revents & EV_READ ? G_IO_IN : 0) 44 ((revents & EV_READ ? G_IO_IN : 0)
45 | (revents & EV_READ ? G_IO_OUT : 0)); 45 | (revents & EV_READ ? G_IO_OUT : 0));
46
47 printf ("ctx rev %d %x:%x\n", w->fd, pfd->events, pfd->revents);//D
48} 46}
49 47
50static void 48static void
51prepare_cb (EV_P_ ev_prepare *w, int revents) 49prepare_cb (EV_P_ ev_prepare *w, int revents)
52{ 50{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines