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

Comparing libev/ev++.C (file contents):
Revision 1.1 by root, Sat Nov 10 21:19:29 2007 UTC vs.
Revision 1.2 by root, Sun Nov 11 01:07:35 2007 UTC

2 2
3namespace ev { 3namespace ev {
4 extern "C" { 4 extern "C" {
5 void cb_io (struct ev_io *w, int revents) { (*static_cast<io *>(w))(revents); } 5 void cb_io (struct ev_io *w, int revents) { (*static_cast<io *>(w))(revents); }
6 void cb_timer (struct ev_timer *w, int revents) { (*static_cast<timer *>(w))(revents); } 6 void cb_timer (struct ev_timer *w, int revents) { (*static_cast<timer *>(w))(revents); }
7 #if EV_PERIODICS
7 void cb_periodic (struct ev_periodic *w, int revents) { (*static_cast<periodic *>(w))(revents); } 8 void cb_periodic (struct ev_periodic *w, int revents) { (*static_cast<periodic *>(w))(revents); }
9 #endif
8 void cb_idle (struct ev_idle *w, int revents) { (*static_cast<idle *>(w))(revents); } 10 void cb_idle (struct ev_idle *w, int revents) { (*static_cast<idle *>(w))(revents); }
9 void cb_prepare (struct ev_prepare *w, int revents) { (*static_cast<prepare *>(w))(revents); } 11 void cb_prepare (struct ev_prepare *w, int revents) { (*static_cast<prepare *>(w))(revents); }
10 void cb_check (struct ev_check *w, int revents) { (*static_cast<check *>(w))(revents); } 12 void cb_check (struct ev_check *w, int revents) { (*static_cast<check *>(w))(revents); }
11 void cb_sig (struct ev_signal *w, int revents) { (*static_cast<sig *>(w))(revents); } 13 void cb_sig (struct ev_signal *w, int revents) { (*static_cast<sig *>(w))(revents); }
12 void cb_child (struct ev_child *w, int revents) { (*static_cast<child *>(w))(revents); } 14 void cb_child (struct ev_child *w, int revents) { (*static_cast<child *>(w))(revents); }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines