From: llucax Date: Fri, 18 Jan 2008 18:14:23 +0000 (+0000) Subject: Add missing feed_event () method to base watchers class. X-Git-Url: https://git.llucax.com/software/libev.git/commitdiff_plain/168dbe26f6016988116006b49fbb4362be416ab7?ds=inline Add missing feed_event () method to base watchers class. --- diff --git a/ev++.h b/ev++.h index a823538..e3b9ba5 100644 --- a/ev++.h +++ b/ev++.h @@ -186,6 +186,11 @@ namespace ev { { return ev_is_pending (static_cast(this)); } + + void feed_event (int revents) + { + ev_feed_event (EV_A_ static_cast(this), revents); + } }; inline void delay (tstamp interval)