summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2012-05-04 19:50:38 +0000
committerroot <root>2012-05-04 19:50:38 +0000
commitb917ed42f90ea7ec854e76c39625e59f298478b5 (patch)
tree792e5f7ff1f5edab5c808b346f686430a94cea6f
parentae4bdb97fce8293731b329bb2fb204ed8a67b263 (diff)
Anaël Beutot
-rw-r--r--ev.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/ev.pod b/ev.pod
index 78d4d38..e983c46 100644
--- a/ev.pod
+++ b/ev.pod
@@ -1320,7 +1320,7 @@ it).
Returns the callback currently set on the watcher.
-=item ev_cb_set (ev_TYPE *watcher, callback)
+=item ev_set_cb (ev_TYPE *watcher, callback)
Change the callback. You can change the callback at virtually any time
(modulo threads).
@@ -3877,7 +3877,7 @@ called):
void
wait_for_event (ev_watcher *w)
{
- ev_cb_set (w) = current_coro;
+ ev_set_cb (w) = current_coro;
switch_to (libev_coro);
}