From: root
Date: Sat, 24 Nov 2007 16:57:30 +0000 (+0000)
Subject: *** empty log message ***
X-Git-Tag: rel-1_3~1
X-Git-Url: https://git.llucax.com/software/libev.git/commitdiff_plain/b1fc178708ff84f921128bcdcad385e87f6f825f
*** empty log message ***
---
diff --git a/ev.3 b/ev.3
index fa733cf..b5f44e5 100644
--- a/ev.3
+++ b/ev.3
@@ -1777,20 +1777,20 @@ For example, the perl \s-1EV\s0 module uses something like this:
\& SV *self; /* contains this struct */ \e
\& SV *cb_sv, *fh /* note no trailing ";" */
.Ve
-.IP "\s-1EV_CB_DECLARE\s0(type)" 4
-.IX Item "EV_CB_DECLARE(type)"
+.IP "\s-1EV_CB_DECLARE\s0 (type)" 4
+.IX Item "EV_CB_DECLARE (type)"
.PD 0
-.IP "\s-1EV_CB_INVOKE\s0(watcher,revents)" 4
-.IX Item "EV_CB_INVOKE(watcher,revents)"
-.IP "ev_set_cb(ev,cb)" 4
-.IX Item "ev_set_cb(ev,cb)"
+.IP "\s-1EV_CB_INVOKE\s0 (watcher, revents)" 4
+.IX Item "EV_CB_INVOKE (watcher, revents)"
+.IP "ev_set_cb (ev, cb)" 4
+.IX Item "ev_set_cb (ev, cb)"
.PD
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 \fIev.v\fR 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 \f(CW\*(C`struct ev_loop *\*(C'\fR as first argument in all cases, or to use
+method calls instead of plain function calls in \*(C+.
.Sh "\s-1EXAMPLES\s0"
.IX Subsection "EXAMPLES"
For a real-world example of a program the includes libev
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
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 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 as first argument in all cases, or to use
+method calls instead of plain function calls in C++.
=head2 EXAMPLES