--- libev/ev.pod 2007/11/24 16:33:23 1.43 +++ libev/ev.pod 2007/11/24 16:57:30 1.44 @@ -1656,18 +1656,18 @@ SV *self; /* contains this struct */ \ SV *cb_sv, *fh /* note no trailing ";" */ -=item EV_CB_DECLARE(type) +=item EV_CB_DECLARE (type) -=item EV_CB_INVOKE(watcher,revents) +=item EV_CB_INVOKE (watcher, revents) -=item ev_set_cb(ev,cb) +=item ev_set_cb (ev, cb) Can be used to change the callback member declaration in each watcher, and the way callbacks are invoked and set. Must expand to a struct member definition and a statement, respectively. See the F header file for their default definitions. One possible use for overriding these is to -avoid the ev_loop pointer as first argument in all cases, or to use method -calls instead of plain function calls in C++. +avoid the C as first argument in all cases, or to use +method calls instead of plain function calls in C++. =head2 EXAMPLES