ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev++.h
(Generate patch)

Comparing libev/ev++.h (file contents):
Revision 1.48 by root, Wed Mar 10 09:23:07 2010 UTC vs.
Revision 1.51 by root, Fri Sep 10 05:38:45 2010 UTC

225 void unref () throw () 225 void unref () throw ()
226 { 226 {
227 ev_unref (EV_AX); 227 ev_unref (EV_AX);
228 } 228 }
229 229
230#if EV_MINIMAL < 2 230#if EV_FEATURE_API
231 unsigned int count () const throw () 231 unsigned int iteration () const throw ()
232 { 232 {
233 return ev_loop_count (EV_AX); 233 return ev_iteration (EV_AX);
234 } 234 }
235 235
236 unsigned int depth () const throw () 236 unsigned int depth () const throw ()
237 { 237 {
238 return ev_loop_depth (EV_AX); 238 return ev_depth (EV_AX);
239 } 239 }
240 240
241 void set_io_collect_interval (tstamp interval) throw () 241 void set_io_collect_interval (tstamp interval) throw ()
242 { 242 {
243 ev_set_io_collect_interval (EV_AX_ interval); 243 ev_set_io_collect_interval (EV_AX_ interval);
478 } 478 }
479 479
480 template<class K, void (K::*method)()> 480 template<class K, void (K::*method)()>
481 static void method_noargs_thunk (EV_P_ ev_watcher *w, int revents) 481 static void method_noargs_thunk (EV_P_ ev_watcher *w, int revents)
482 { 482 {
483 static_cast<K *>(w->data)->*method 483 (static_cast<K *>(w->data)->*method)
484 (); 484 ();
485 } 485 }
486 486
487 void operator ()(int events = EV_UNDEF) 487 void operator ()(int events = EV_UNDEF)
488 { 488 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines