… | |
… | |
3177 | |
3177 | |
3178 | =over 4 |
3178 | =over 4 |
3179 | |
3179 | |
3180 | =item ev_embed_init (ev_embed *, callback, struct ev_loop *embedded_loop) |
3180 | =item ev_embed_init (ev_embed *, callback, struct ev_loop *embedded_loop) |
3181 | |
3181 | |
3182 | =item ev_embed_set (ev_embed *, callback, struct ev_loop *embedded_loop) |
3182 | =item ev_embed_set (ev_embed *, struct ev_loop *embedded_loop) |
3183 | |
3183 | |
3184 | Configures the watcher to embed the given loop, which must be |
3184 | Configures the watcher to embed the given loop, which must be |
3185 | embeddable. If the callback is C<0>, then C<ev_embed_sweep> will be |
3185 | embeddable. If the callback is C<0>, then C<ev_embed_sweep> will be |
3186 | invoked automatically, otherwise it is the responsibility of the callback |
3186 | invoked automatically, otherwise it is the responsibility of the callback |
3187 | to invoke it (it will continue to be called until the sweep has been done, |
3187 | to invoke it (it will continue to be called until the sweep has been done, |