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

Comparing cvsroot/Glib-EV/EV.xs (file contents):
Revision 1.3 by root, Thu Dec 20 07:23:50 2007 UTC vs.
Revision 1.4 by root, Sat Jan 31 09:49:55 2009 UTC

33 slot *s = (slot *)w; 33 slot *s = (slot *)w;
34 int oev = s->pfd->revents; 34 int oev = s->pfd->revents;
35 35
36 s->pfd->revents |= s->pfd->events & 36 s->pfd->revents |= s->pfd->events &
37 ((revents & EV_READ ? G_IO_IN : 0) 37 ((revents & EV_READ ? G_IO_IN : 0)
38 | (revents & EV_READ ? G_IO_OUT : 0)); 38 | (revents & EV_WRITE ? G_IO_OUT : 0));
39 39
40 if (!oev && s->pfd->revents) 40 if (!oev && s->pfd->revents)
41 ++*(s->got_events); 41 ++*(s->got_events);
42 42
43 ev_unloop (EV_A, EVUNLOOP_ONE); 43 ev_unloop (EV_A, EVUNLOOP_ONE);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines