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

Comparing libev/ev.h (file contents):
Revision 1.129 by root, Thu Dec 31 06:50:17 2009 UTC vs.
Revision 1.131 by root, Mon Jan 18 13:31:42 2010 UTC

161#ifndef EV_PROTOTYPES 161#ifndef EV_PROTOTYPES
162# define EV_PROTOTYPES 1 162# define EV_PROTOTYPES 1
163#endif 163#endif
164 164
165#define EV_VERSION_MAJOR 3 165#define EV_VERSION_MAJOR 3
166#define EV_VERSION_MINOR 8 166#define EV_VERSION_MINOR 9
167 167
168#ifndef EV_CB_DECLARE 168#ifndef EV_CB_DECLARE
169# define EV_CB_DECLARE(type) void (*cb)(EV_P_ struct type *w, int revents); 169# define EV_CB_DECLARE(type) void (*cb)(EV_P_ struct type *w, int revents);
170#endif 170#endif
171#ifndef EV_CB_INVOKE 171#ifndef EV_CB_INVOKE
613#if EV_MINPRI == EV_MAXPRI 613#if EV_MINPRI == EV_MAXPRI
614# define ev_priority(ev) ((ev), EV_MINPRI) 614# define ev_priority(ev) ((ev), EV_MINPRI)
615# define ev_set_priority(ev,pri) ((ev), (pri)) 615# define ev_set_priority(ev,pri) ((ev), (pri))
616#else 616#else
617# define ev_priority(ev) (+(((ev_watcher *)(void *)(ev))->priority)) 617# define ev_priority(ev) (+(((ev_watcher *)(void *)(ev))->priority))
618# define ev_set_priority(ev,pri) ( (ev_watcher *)(void *)(ev))->priority = (pri) 618# define ev_set_priority(ev,pri) ( (ev_watcher *)(void *)(ev))->priority = (pri)
619#endif 619#endif
620 620
621#define ev_periodic_at(ev) (+((ev_watcher_time *)(ev))->at) 621#define ev_periodic_at(ev) (+((ev_watcher_time *)(ev))->at)
622 622
623#ifndef ev_set_cb 623#ifndef ev_set_cb

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines