… | |
… | |
55 | void (*idle_stop) (struct ev_idle *); |
55 | void (*idle_stop) (struct ev_idle *); |
56 | void (*prepare_start)(struct ev_prepare *); |
56 | void (*prepare_start)(struct ev_prepare *); |
57 | void (*prepare_stop) (struct ev_prepare *); |
57 | void (*prepare_stop) (struct ev_prepare *); |
58 | void (*check_start)(struct ev_check *); |
58 | void (*check_start)(struct ev_check *); |
59 | void (*check_stop) (struct ev_check *); |
59 | void (*check_stop) (struct ev_check *); |
|
|
60 | void (*child_start)(struct ev_child *); |
|
|
61 | void (*child_stop) (struct ev_child *); |
60 | }; |
62 | }; |
61 | |
63 | |
62 | #if !EV_PROTOTYPES |
64 | #if !EV_PROTOTYPES |
63 | # define sv_fileno(sv) GEVAPI->sv_fileno (sv) |
65 | # define sv_fileno(sv) GEVAPI->sv_fileno (sv) |
64 | # define sv_signum(sv) GEVAPI->sv_signum (sv) |
66 | # define sv_signum(sv) GEVAPI->sv_signum (sv) |
… | |
… | |
81 | # define evidle_stop(w) GEVAPI->idle_stop (w) |
83 | # define evidle_stop(w) GEVAPI->idle_stop (w) |
82 | # define evprepare_start(w) GEVAPI->prepare_start (w) |
84 | # define evprepare_start(w) GEVAPI->prepare_start (w) |
83 | # define evprepare_stop(w) GEVAPI->prepare_stop (w) |
85 | # define evprepare_stop(w) GEVAPI->prepare_stop (w) |
84 | # define evcheck_start(w) GEVAPI->check_start (w) |
86 | # define evcheck_start(w) GEVAPI->check_start (w) |
85 | # define evcheck_stop(w) GEVAPI->check_stop (w) |
87 | # define evcheck_stop(w) GEVAPI->check_stop (w) |
|
|
88 | # define evchild_start(w) GEVAPI->child_start (w) |
|
|
89 | # define evchild_stop(w) GEVAPI->child_stop (w) |
86 | #endif |
90 | #endif |
87 | |
91 | |
88 | static struct EVAPI *GEVAPI; |
92 | static struct EVAPI *GEVAPI; |
89 | |
93 | |
90 | #define I_EV_API(YourName) \ |
94 | #define I_EV_API(YourName) \ |