… | |
… | |
69 | function (*self, revents); |
69 | function (*self, revents); |
70 | } |
70 | } |
71 | |
71 | |
72 | void operator ()(int events = EV_UNDEF) |
72 | void operator ()(int events = EV_UNDEF) |
73 | { |
73 | { |
74 | return e_cb (static_cast<ev_watcher *>(this)) (events); |
74 | return ev_cb (static_cast<ev_watcher *>(this)) |
|
|
75 | (static_cast<ev_watcher *>(this), events); |
75 | } |
76 | } |
76 | |
77 | |
77 | bool is_active () const |
78 | bool is_active () const |
78 | { |
79 | { |
79 | return ev_is_active (static_cast<const ev_watcher *>(this)); |
80 | return ev_is_active (static_cast<const ev_watcher *>(this)); |