--- libev/ev++.h 2007/12/04 17:08:05 1.14 +++ libev/ev++.h 2007/12/05 00:09:35 1.15 @@ -22,7 +22,7 @@ ev_init (this, 0); } - void set_ (void *object, void (*cb)(ev_watcher *w, int revents)) + void set_ (void *object, void (*cb)(EV_P_ ev_watcher *w, int revents)) { this->data = object; ev_set_cb (static_cast(this), cb); @@ -35,7 +35,7 @@ } template - static void method_thunk (ev_watcher *w, int revents) + static void method_thunk (EV_P_ ev_watcher *w, int revents) { watcher *self = static_cast(w); K *obj = static_cast(self->data); @@ -49,7 +49,7 @@ } template - static void const_method_thunk (ev_watcher *w, int revents) + static void const_method_thunk (EV_P_ ev_watcher *w, int revents) { watcher *self = static_cast(w); K *obj = static_cast(self->data); @@ -63,7 +63,7 @@ } template - static void function_thunk (ev_watcher *w, int revents) + static void function_thunk (EV_P_ ev_watcher *w, int revents) { watcher *self = static_cast(w); function (*self, revents);