diff options
Diffstat (limited to 'ev++.h')
-rw-r--r-- | ev++.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) |