ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/event.c
(Generate patch)

Comparing libev/event.c (file contents):
Revision 1.27 by root, Mon Nov 12 01:11:36 2007 UTC vs.
Revision 1.28 by root, Mon Nov 12 08:00:05 2007 UTC

89 89
90void *event_init (void) 90void *event_init (void)
91{ 91{
92#if EV_MULTIPLICITY 92#if EV_MULTIPLICITY
93 if (x_cur) 93 if (x_cur)
94 x_cur = (struct event_base *)ev_loop_new (EVMETHOD_AUTO); 94 x_cur = (struct event_base *)ev_loop_new (EVFLAG_AUTO);
95 else 95 else
96 x_cur = (struct event_base *)ev_default_loop (EVMETHOD_AUTO); 96 x_cur = (struct event_base *)ev_default_loop (EVFLAG_AUTO);
97#else 97#else
98 assert (("multiple event bases not supported when not compiled with EV_MULTIPLICITY", !x_cur)); 98 assert (("multiple event bases not supported when not compiled with EV_MULTIPLICITY", !x_cur));
99 99
100 x_cur = (struct event_base *)(long)ev_default_loop (EVMETHOD_AUTO); 100 x_cur = (struct event_base *)(long)ev_default_loop (EVFLAG_AUTO);
101#endif 101#endif
102 102
103 return x_cur; 103 return x_cur;
104} 104}
105 105

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines