summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorroot <root>2007-12-20 07:12:57 +0000
committerroot <root>2007-12-20 07:12:57 +0000
commitebc0759db57ff79951aa13a23c97c5846a78a67d (patch)
tree76440f32807e4728407b7815d15a5e4f48511c8c /ev.c
parentd34230f8609e4134733d30beaebee698f49b8abe (diff)
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/ev.c b/ev.c
index a111beb..32369d3 100644
--- a/ev.c
+++ b/ev.c
@@ -2184,7 +2184,7 @@ ev_check_stop (EV_P_ ev_check *w)
void noinline
ev_embed_sweep (EV_P_ ev_embed *w)
{
- ev_loop (w->loop, EVLOOP_NONBLOCK);
+ ev_loop (w->other, EVLOOP_NONBLOCK);
}
static void
@@ -2205,7 +2205,7 @@ ev_embed_start (EV_P_ ev_embed *w)
return;
{
- struct ev_loop *loop = w->loop;
+ struct ev_loop *loop = w->other;
assert (("loop to be embedded is not embeddable", backend & ev_embeddable_backends ()));
ev_io_init (&w->io, embed_cb, backend_fd, EV_READ);
}
@@ -2322,6 +2322,10 @@ ev_once (EV_P_ int fd, int events, ev_tstamp timeout, void (*cb)(int revents, vo
}
}
+#if EV_MULTIPLICITY
+ #include "ev_wrap.h"
+#endif
+
#ifdef __cplusplus
}
#endif