From b1fc178708ff84f921128bcdcad385e87f6f825f Mon Sep 17 00:00:00 2001 From: root Date: Sat, 24 Nov 2007 16:57:30 +0000 Subject: *** empty log message *** --- ev.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'ev.html') diff --git a/ev.html b/ev.html index f92c42f..1bbc918 100644 --- a/ev.html +++ b/ev.html @@ -6,7 +6,7 @@ - + @@ -1658,16 +1658,16 @@ though, and it must be identical each time.

-
EV_CB_DECLARE(type)
-
EV_CB_INVOKE(watcher,revents)
-
ev_set_cb(ev,cb)
+
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 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++.

+avoid the struct ev_loop * as first argument in all cases, or to use +method calls instead of plain function calls in C++.

EXAMPLES

-- cgit v1.2.3