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

Comparing libev/ev.h (file contents):
Revision 1.57 by root, Mon Nov 12 21:51:14 2007 UTC vs.
Revision 1.58 by root, Thu Nov 15 09:19:43 2007 UTC

267void ev_set_syserr_cb (void (*cb)(const char *msg)); 267void ev_set_syserr_cb (void (*cb)(const char *msg));
268 268
269# if EV_MULTIPLICITY 269# if EV_MULTIPLICITY
270/* the default loop is the only one that handles signals and child watchers */ 270/* the default loop is the only one that handles signals and child watchers */
271/* you can call this as often as you like */ 271/* you can call this as often as you like */
272struct ev_loop *ev_default_loop (unsigned int flags); /* returns default loop */ 272static struct ev_loop *
273ev_default_loop (unsigned int flags)
274{
275 extern struct ev_loop *ev_default_loop_ptr;
276 extern struct ev_loop *ev_default_loop_ (unsigned int flags);
277
278 if (!ev_default_loop_ptr)
279 ev_default_loop_ (flags);
280
281 return ev_default_loop_ptr;
282}
273 283
274/* create and destroy alternative loops that don't handle signals */ 284/* create and destroy alternative loops that don't handle signals */
275struct ev_loop *ev_loop_new (unsigned int flags); 285struct ev_loop *ev_loop_new (unsigned int flags);
276void ev_loop_destroy (EV_P); 286void ev_loop_destroy (EV_P);
277void ev_loop_fork (EV_P); 287void ev_loop_fork (EV_P);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines