… | |
… | |
2019 | |
2019 | |
2020 | =item w->stop () |
2020 | =item w->stop () |
2021 | |
2021 | |
2022 | Stops the watcher if it is active. Again, no C<loop> argument. |
2022 | Stops the watcher if it is active. Again, no C<loop> argument. |
2023 | |
2023 | |
2024 | =item w->again () C<ev::timer>, C<ev::periodic> only |
2024 | =item w->again () (C<ev::timer>, C<ev::periodic> only) |
2025 | |
2025 | |
2026 | For C<ev::timer> and C<ev::periodic>, this invokes the corresponding |
2026 | For C<ev::timer> and C<ev::periodic>, this invokes the corresponding |
2027 | C<ev_TYPE_again> function. |
2027 | C<ev_TYPE_again> function. |
2028 | |
2028 | |
2029 | =item w->sweep () C<ev::embed> only |
2029 | =item w->sweep () (C<ev::embed> only) |
2030 | |
2030 | |
2031 | Invokes C<ev_embed_sweep>. |
2031 | Invokes C<ev_embed_sweep>. |
2032 | |
2032 | |
2033 | =item w->update () C<ev::stat> only |
2033 | =item w->update () (C<ev::stat> only) |
2034 | |
2034 | |
2035 | Invokes C<ev_stat_stat>. |
2035 | Invokes C<ev_stat_stat>. |
2036 | |
2036 | |
2037 | =back |
2037 | =back |
2038 | |
2038 | |
… | |
… | |
2058 | } |
2058 | } |
2059 | |
2059 | |
2060 | |
2060 | |
2061 | =head1 MACRO MAGIC |
2061 | =head1 MACRO MAGIC |
2062 | |
2062 | |
2063 | Libev can be compiled with a variety of options, the most fundemantal is |
2063 | Libev can be compiled with a variety of options, the most fundamantal |
2064 | C<EV_MULTIPLICITY>. This option determines whether (most) functions and |
2064 | of which is C<EV_MULTIPLICITY>. This option determines whether (most) |
2065 | callbacks have an initial C<struct ev_loop *> argument. |
2065 | functions and callbacks have an initial C<struct ev_loop *> argument. |
2066 | |
2066 | |
2067 | To make it easier to write programs that cope with either variant, the |
2067 | To make it easier to write programs that cope with either variant, the |
2068 | following macros are defined: |
2068 | following macros are defined: |
2069 | |
2069 | |
2070 | =over 4 |
2070 | =over 4 |