… | |
… | |
2440 | |
2440 | |
2441 | =item ev_set_cb (ev, cb) |
2441 | =item ev_set_cb (ev, cb) |
2442 | |
2442 | |
2443 | Can be used to change the callback member declaration in each watcher, |
2443 | Can be used to change the callback member declaration in each watcher, |
2444 | and the way callbacks are invoked and set. Must expand to a struct member |
2444 | and the way callbacks are invoked and set. Must expand to a struct member |
2445 | definition and a statement, respectively. See the F<ev.c> header file for |
2445 | definition and a statement, respectively. See the F<ev.h> header file for |
2446 | their default definitions. One possible use for overriding these is to |
2446 | their default definitions. One possible use for overriding these is to |
2447 | avoid the C<struct ev_loop *> as first argument in all cases, or to use |
2447 | avoid the C<struct ev_loop *> as first argument in all cases, or to use |
2448 | method calls instead of plain function calls in C++. |
2448 | method calls instead of plain function calls in C++. |
2449 | |
2449 | |
2450 | =head2 EXPORTED API SYMBOLS |
2450 | =head2 EXPORTED API SYMBOLS |