Browse Source

*** empty log message ***

master
Marc Alexander Lehmann 13 years ago
parent
commit
762f2524e0
2 changed files with 4 additions and 2 deletions
  1. +2
    -1
      ev.h
  2. +2
    -1
      event.h

+ 2
- 1
ev.h View File

@ -181,7 +181,8 @@ struct ev_child
#define EVMETHOD_POLL 2
#define EVMETHOD_EPOLL 4
#define EVMETHOD_KQUEUE 8
#define EVMETHOD_DEVPOLL 16
#define EVMETHOD_DEVPOLL 16 /* NYI */
#define EVMETHOD_PORT 32 /* NYI */
#define EVMETHOD_ANY ~0 /* any method, do not consult env */
#if EV_PROTOTYPES
extern int ev_method;


+ 2
- 1
event.h View File

@ -39,7 +39,7 @@ extern "C" {
struct event
{
/* lib watchers we map to */
/* libev watchers we map onto */
union {
struct ev_io io;
struct ev_signal sig;
@ -120,3 +120,4 @@ int event_base_once (struct event_base *base, int fd, short events, void (*cb)(i
int event_base_priority_init (struct event_base *base, int fd);
#endif

Loading…
Cancel
Save