]> git.llucax.com Git - software/libev.git/commitdiff
Add missing feed_event () method to base watchers class.
authorllucax <llucax>
Fri, 18 Jan 2008 18:14:23 +0000 (18:14 +0000)
committerllucax <llucax>
Fri, 18 Jan 2008 18:14:23 +0000 (18:14 +0000)
ev++.h

diff --git a/ev++.h b/ev++.h
index a823538b647ed2e7dc12a422e545b64bff53fd25..e3b9ba5e61afaa61323ba140d2c923a676345fc4 100644 (file)
--- 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)