summaryrefslogtreecommitdiff
path: root/ev.pod
diff options
context:
space:
mode:
authorroot <root>2007-11-24 16:57:30 +0000
committerroot <root>2007-11-24 16:57:30 +0000
commitb1fc178708ff84f921128bcdcad385e87f6f825f (patch)
tree86f46f0aa26483ebe8a1a96b1874e4fd533bdaea /ev.pod
parent97710f65c4339600b822e15e7e78841ae445f0f5 (diff)
*** empty log message ***
Diffstat (limited to 'ev.pod')
-rw-r--r--ev.pod10
1 files changed, 5 insertions, 5 deletions
diff --git a/ev.pod b/ev.pod
index d1c5d63..ab0f507 100644
--- a/ev.pod
+++ b/ev.pod
@@ -1656,18 +1656,18 @@ For example, the perl EV module uses something like this:
SV *self; /* contains this struct */ \
SV *cb_sv, *fh /* note no trailing ";" */
-=item EV_CB_DECLARE(type)
+=item EV_CB_DECLARE (type)
-=item EV_CB_INVOKE(watcher,revents)
+=item EV_CB_INVOKE (watcher, revents)
-=item ev_set_cb(ev,cb)
+=item 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 F<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 C<struct ev_loop *> as first argument in all cases, or to use
+method calls instead of plain function calls in C++.
=head2 EXAMPLES