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

Comparing libev/README.embed (file contents):
Revision 1.15 by root, Fri Nov 9 20:55:09 2007 UTC vs.
Revision 1.17 by root, Fri Nov 9 21:48:22 2007 UTC

170 event loop pointer argument. Instead, all functions act on the 170 event loop pointer argument. Instead, all functions act on the
171 single default loop. 171 single default loop.
172 172
173 EV_CB_DECLARE(type) 173 EV_CB_DECLARE(type)
174 EV_CB_INVOKE(watcher,revents) 174 EV_CB_INVOKE(watcher,revents)
175 ev_set_cb(ev,cb)
175 176
176 Can be used to change the callback member declaration in each 177 Can be used to change the callback member declaration in each
177 watcher, and the way callbacks are invoked. Must expand to a struct 178 watcher, and the way callbacks are invoked and set. Must expand
178 member definition and a statement, respectively. See the ev.v 179 to a struct member definition and a statement, respectively. See
179 header file for their default definitions. 180 the ev.v header file for their default definitions. One possible
181 use for overriding these is to avoid the ev_loop pointer as first
182 argument in all cases, or to use method calls instead of plain
183 function calls in C++.
180 184
181EXAMPLES 185EXAMPLES
182 186
183 For a real-world example of a program the includes libev 187 For a real-world example of a program the includes libev
184 verbatim, you can have a look at the EV perl module 188 verbatim, you can have a look at the EV perl module

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines