summaryrefslogtreecommitdiff
path: root/README.embed
diff options
context:
space:
mode:
authorMarc Alexander Lehmann <libev@schmorp.de>2007-11-09 21:48:22 +0000
committerMarc Alexander Lehmann <libev@schmorp.de>2007-11-09 21:48:22 +0000
commit82ee172801891c862efcd4bab385c2b55af07804 (patch)
tree26504bc5c764898ffde4bbd26df780132a194923 /README.embed
parentd81c0d269da8b368bb7c9ddf18d66b5a57fab1da (diff)
downloadlibev-82ee172801891c862efcd4bab385c2b55af07804.tar.gz
libev-82ee172801891c862efcd4bab385c2b55af07804.zip
*** empty log message ***
Diffstat (limited to 'README.embed')
-rw-r--r--README.embed12
1 files changed, 7 insertions, 5 deletions
diff --git a/README.embed b/README.embed
index 5d60ee8..815e8b4 100644
--- a/README.embed
+++ b/README.embed
@@ -172,13 +172,15 @@ PREPROCESSOR SYMBOLS
EV_CB_DECLARE(type)
EV_CB_INVOKE(watcher,revents)
+ ev_set_cb(ev,cb)
Can be used to change the callback member declaration in each
- watcher, and the way callbacks are invoked. Must expand to a struct
- member definition and a statement, respectively. See the ev.v
- 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++.
+ watcher, and the way callbacks are invoked and set. Must expand
+ to a struct member definition and a statement, respectively. See
+ the ev.v 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++.
EXAMPLES