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.50 by root, Thu Jun 24 19:22:26 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 count () const throw ()
232 { 232 {
233 return ev_loop_count (EV_AX); 233 return ev_loop_count (EV_AX);
234 } 234 }
235 235
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