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

Comparing libev/event.c (file contents):
Revision 1.11 by root, Sun Nov 4 16:52:52 2007 UTC vs.
Revision 1.12 by root, Sun Nov 4 18:15:16 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 "ev.h"
38# include "event.h" 38#include "event.h"
39#endif
40 39
41#if EV_MULTIPLICITY 40#if EV_MULTIPLICITY
42# define dLOOPev struct ev_loop *loop = (struct ev_loop *)ev->ev_base 41# define dLOOPev struct ev_loop *loop = (struct ev_loop *)ev->ev_base
43# define dLOOPbase struct ev_loop *loop = (struct ev_loop *)base 42# define dLOOPbase struct ev_loop *loop = (struct ev_loop *)base
44#else 43#else
110int event_dispatch (void) 109int event_dispatch (void)
111{ 110{
112 return event_base_dispatch (x_cur); 111 return event_base_dispatch (x_cur);
113} 112}
114 113
115#ifdef EV_EMBED 114#ifdef EV_STANDALONE
116void event_set_log_callback (event_log_cb cb) 115void event_set_log_callback (event_log_cb cb)
117{ 116{
118 /* nop */ 117 /* nop */
119} 118}
120#endif 119#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines