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

Comparing libev/event.c (file contents):
Revision 1.10 by root, Sun Nov 4 15:58:50 2007 UTC vs.
Revision 1.11 by root, Sun Nov 4 16:52:52 2007 UTC

32#include <stddef.h> 32#include <stddef.h>
33#include <stdlib.h> 33#include <stdlib.h>
34#include <sys/time.h> 34#include <sys/time.h>
35#include <assert.h> 35#include <assert.h>
36 36
37#ifndef EV_EMBED
37#include "event.h" 38# include "event.h"
39#endif
38 40
39#if EV_MULTIPLICITY 41#if EV_MULTIPLICITY
40# define dLOOPev struct ev_loop *loop = (struct ev_loop *)ev->ev_base 42# define dLOOPev struct ev_loop *loop = (struct ev_loop *)ev->ev_base
41# define dLOOPbase struct ev_loop *loop = (struct ev_loop *)base 43# define dLOOPbase struct ev_loop *loop = (struct ev_loop *)base
42#else 44#else
108int event_dispatch (void) 110int event_dispatch (void)
109{ 111{
110 return event_base_dispatch (x_cur); 112 return event_base_dispatch (x_cur);
111} 113}
112 114
113#ifdef EV_STANDALONE 115#ifdef EV_EMBED
114void event_set_log_callback (event_log_cb cb) 116void event_set_log_callback (event_log_cb cb)
115{ 117{
116 /* nop */ 118 /* nop */
117} 119}
118#endif 120#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines