diff options
author | llucax <llucax> | 2008-01-18 18:14:23 +0000 |
---|---|---|
committer | llucax <llucax> | 2008-01-18 18:14:23 +0000 |
commit | 168dbe26f6016988116006b49fbb4362be416ab7 (patch) | |
tree | 22744a4f55b9125b5e74381179f24463a619300b /ev++.h | |
parent | 4f776fde71f96363bbbb7ac6570a0db2f0cfb8ba (diff) |
Add missing feed_event () method to base watchers class.
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) |