… | |
… | |
65 | void (*prepare_start)(EV_P_ ev_prepare *); |
65 | void (*prepare_start)(EV_P_ ev_prepare *); |
66 | void (*prepare_stop) (EV_P_ ev_prepare *); |
66 | void (*prepare_stop) (EV_P_ ev_prepare *); |
67 | void (*check_start)(EV_P_ ev_check *); |
67 | void (*check_start)(EV_P_ ev_check *); |
68 | void (*check_stop) (EV_P_ ev_check *); |
68 | void (*check_stop) (EV_P_ ev_check *); |
69 | int (*clear_pending)(EV_P_ void *); |
69 | int (*clear_pending)(EV_P_ void *); |
|
|
70 | void (*invoke)(EV_P_ void *, int); |
70 | }; |
71 | }; |
71 | |
72 | |
72 | #if !EV_PROTOTYPES |
73 | #if !EV_PROTOTYPES |
73 | # define sv_fileno(sv) GEVAPI->sv_fileno (sv) |
74 | # define sv_fileno(sv) GEVAPI->sv_fileno (sv) |
74 | # define sv_signum(sv) GEVAPI->sv_signum (sv) |
75 | # define sv_signum(sv) GEVAPI->sv_signum (sv) |
… | |
… | |
99 | # define ev_stat_stop(w) GEVAPI->stat_stop (w) |
100 | # define ev_stat_stop(w) GEVAPI->stat_stop (w) |
100 | # define ev_stat_stat(w) GEVAPI->stat_stat (w) |
101 | # define ev_stat_stat(w) GEVAPI->stat_stat (w) |
101 | # define ev_ref(loop) GEVAPI->ref (loop) |
102 | # define ev_ref(loop) GEVAPI->ref (loop) |
102 | # define ev_unref(loop) GEVAPI->unref (loop) |
103 | # define ev_unref(loop) GEVAPI->unref (loop) |
103 | # define ev_clear_pending(w) GEVAPI->clear_pending (w) |
104 | # define ev_clear_pending(w) GEVAPI->clear_pending (w) |
|
|
105 | # define ev_invoke(w,rev) GEVAPI->invoke (w, rev) |
104 | #endif |
106 | #endif |
105 | |
107 | |
106 | static struct EVAPI *GEVAPI; |
108 | static struct EVAPI *GEVAPI; |
107 | |
109 | |
108 | #define I_EV_API(YourName) \ |
110 | #define I_EV_API(YourName) \ |