diff options
-rw-r--r-- | Changes | 2 | ||||
-rw-r--r-- | ev++.h | 2 | ||||
-rw-r--r-- | ev.pod | 12 |
3 files changed, 11 insertions, 5 deletions
@@ -38,6 +38,8 @@ TODO: ev_feed_child_event - try to detect signals around a fork faster (test program by Denis Bilenko). - work around recent glibc versions that leak memory in realloc. + - rename ev::embed::set to ev::embed::set_embed to avoid clashing + the watcher base set (loop) method. 4.11 Sat Feb 4 19:52:39 CET 2012 - INCOMPATIBLE CHANGE: ev_timer_again now clears the pending status, as @@ -764,7 +764,7 @@ namespace ev { #if EV_EMBED_ENABLE EV_BEGIN_WATCHER (embed, embed) - void set (struct ev_loop *embedded_loop) throw () + void set_embed (struct ev_loop *embedded_loop) throw () { int active = is_active (); if (active) stop (); @@ -4123,10 +4123,14 @@ do this when the watcher is inactive (and not pending either). =item w->set ([arguments]) -Basically the same as C<ev_TYPE_set>, with the same arguments. Either this -method or a suitable start method must be called at least once. Unlike the -C counterpart, an active watcher gets automatically stopped and restarted -when reconfiguring it with this method. +Basically the same as C<ev_TYPE_set> (except for C<ev::embed> watchers>), +with the same arguments. Either this method or a suitable start method +must be called at least once. Unlike the C counterpart, an active watcher +gets automatically stopped and restarted when reconfiguring it with this +method. + +For C<ev::embed> watchers this method is called C<set_embed>, to avoid +clashing with the C<set (loop)> method. =item w->start () |