From 168dbe26f6016988116006b49fbb4362be416ab7 Mon Sep 17 00:00:00 2001 From: llucax Date: Fri, 18 Jan 2008 18:14:23 +0000 Subject: [PATCH] Add missing feed_event () method to base watchers class. --- ev++.h | 5 +++++ 1 file changed, 5 insertions(+) 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) -- 2.43.0