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

Comparing libev/ev.3 (file contents):
Revision 1.18 by root, Sat Nov 24 16:33:23 2007 UTC vs.
Revision 1.19 by root, Sat Nov 24 16:57:38 2007 UTC

1775.Vb 3 1775.Vb 3
1776\& #define EV_COMMON \e 1776\& #define EV_COMMON \e
1777\& SV *self; /* contains this struct */ \e 1777\& SV *self; /* contains this struct */ \e
1778\& SV *cb_sv, *fh /* note no trailing ";" */ 1778\& SV *cb_sv, *fh /* note no trailing ";" */
1779.Ve 1779.Ve
1780.IP "\s-1EV_CB_DECLARE\s0(type)" 4 1780.IP "\s-1EV_CB_DECLARE\s0 (type)" 4
1781.IX Item "EV_CB_DECLARE(type)" 1781.IX Item "EV_CB_DECLARE (type)"
1782.PD 0 1782.PD 0
1783.IP "\s-1EV_CB_INVOKE\s0(watcher,revents)" 4 1783.IP "\s-1EV_CB_INVOKE\s0 (watcher, revents)" 4
1784.IX Item "EV_CB_INVOKE(watcher,revents)" 1784.IX Item "EV_CB_INVOKE (watcher, revents)"
1785.IP "ev_set_cb(ev,cb)" 4 1785.IP "ev_set_cb (ev, cb)" 4
1786.IX Item "ev_set_cb(ev,cb)" 1786.IX Item "ev_set_cb (ev, cb)"
1787.PD 1787.PD
1788Can be used to change the callback member declaration in each watcher, 1788Can be used to change the callback member declaration in each watcher,
1789and the way callbacks are invoked and set. Must expand to a struct member 1789and the way callbacks are invoked and set. Must expand to a struct member
1790definition and a statement, respectively. See the \fIev.v\fR header file for 1790definition and a statement, respectively. See the \fIev.v\fR header file for
1791their default definitions. One possible use for overriding these is to 1791their default definitions. One possible use for overriding these is to
1792avoid the ev_loop pointer as first argument in all cases, or to use method 1792avoid the \f(CW\*(C`struct ev_loop *\*(C'\fR as first argument in all cases, or to use
1793calls instead of plain function calls in \*(C+. 1793method calls instead of plain function calls in \*(C+.
1794.Sh "\s-1EXAMPLES\s0" 1794.Sh "\s-1EXAMPLES\s0"
1795.IX Subsection "EXAMPLES" 1795.IX Subsection "EXAMPLES"
1796For a real-world example of a program the includes libev 1796For a real-world example of a program the includes libev
1797verbatim, you can have a look at the \s-1EV\s0 perl module 1797verbatim, you can have a look at the \s-1EV\s0 perl module
1798(<http://software.schmorp.de/pkg/EV.html>). It has the libev files in 1798(<http://software.schmorp.de/pkg/EV.html>). It has the libev files in

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines