summaryrefslogtreecommitdiff
path: root/ev++.h
diff options
context:
space:
mode:
Diffstat (limited to 'ev++.h')
-rw-r--r--ev++.h5
1 files changed, 5 insertions, 0 deletions
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<const ev_watcher *>(this));
}
+
+ void feed_event (int revents)
+ {
+ ev_feed_event (EV_A_ static_cast<const ev_watcher *>(this), revents);
+ }
};
inline void delay (tstamp interval)