… | |
… | |
4 | <head> |
4 | <head> |
5 | <title>libev</title> |
5 | <title>libev</title> |
6 | <meta name="description" content="Pod documentation for libev" /> |
6 | <meta name="description" content="Pod documentation for libev" /> |
7 | <meta name="inputfile" content="<standard input>" /> |
7 | <meta name="inputfile" content="<standard input>" /> |
8 | <meta name="outputfile" content="<standard output>" /> |
8 | <meta name="outputfile" content="<standard output>" /> |
9 | <meta name="created" content="Sat Nov 24 17:33:21 2007" /> |
9 | <meta name="created" content="Sat Nov 24 17:57:37 2007" /> |
10 | <meta name="generator" content="Pod::Xhtml 1.57" /> |
10 | <meta name="generator" content="Pod::Xhtml 1.57" /> |
11 | <link rel="stylesheet" href="http://res.tst.eu/pod.css"/></head> |
11 | <link rel="stylesheet" href="http://res.tst.eu/pod.css"/></head> |
12 | <body> |
12 | <body> |
13 | <div class="pod"> |
13 | <div class="pod"> |
14 | <!-- INDEX START --> |
14 | <!-- INDEX START --> |
… | |
… | |
1656 | SV *self; /* contains this struct */ \ |
1656 | SV *self; /* contains this struct */ \ |
1657 | SV *cb_sv, *fh /* note no trailing ";" */ |
1657 | SV *cb_sv, *fh /* note no trailing ";" */ |
1658 | |
1658 | |
1659 | </pre> |
1659 | </pre> |
1660 | </dd> |
1660 | </dd> |
1661 | <dt>EV_CB_DECLARE(type)</dt> |
1661 | <dt>EV_CB_DECLARE (type)</dt> |
1662 | <dt>EV_CB_INVOKE(watcher,revents)</dt> |
1662 | <dt>EV_CB_INVOKE (watcher, revents)</dt> |
1663 | <dt>ev_set_cb(ev,cb)</dt> |
1663 | <dt>ev_set_cb (ev, cb)</dt> |
1664 | <dd> |
1664 | <dd> |
1665 | <p>Can be used to change the callback member declaration in each watcher, |
1665 | <p>Can be used to change the callback member declaration in each watcher, |
1666 | and the way callbacks are invoked and set. Must expand to a struct member |
1666 | and the way callbacks are invoked and set. Must expand to a struct member |
1667 | definition and a statement, respectively. See the <cite>ev.v</cite> header file for |
1667 | definition and a statement, respectively. See the <cite>ev.v</cite> header file for |
1668 | their default definitions. One possible use for overriding these is to |
1668 | their default definitions. One possible use for overriding these is to |
1669 | avoid the ev_loop pointer as first argument in all cases, or to use method |
1669 | avoid the <code>struct ev_loop *</code> as first argument in all cases, or to use |
1670 | calls instead of plain function calls in C++.</p> |
1670 | method calls instead of plain function calls in C++.</p> |
1671 | |
1671 | |
1672 | </div> |
1672 | </div> |
1673 | <h2 id="EXAMPLES">EXAMPLES</h2> |
1673 | <h2 id="EXAMPLES">EXAMPLES</h2> |
1674 | <div id="EXAMPLES_CONTENT"> |
1674 | <div id="EXAMPLES_CONTENT"> |
1675 | <p>For a real-world example of a program the includes libev |
1675 | <p>For a real-world example of a program the includes libev |