… | |
… | |
33 | |
33 | |
34 | struct EVAPI { |
34 | struct EVAPI { |
35 | I32 ver; |
35 | I32 ver; |
36 | I32 rev; |
36 | I32 rev; |
37 | #define EV_API_VERSION 4 |
37 | #define EV_API_VERSION 4 |
38 | #define EV_API_REVISION 3 |
38 | #define EV_API_REVISION 4 |
39 | |
39 | |
40 | struct ev_loop *default_loop; |
40 | struct ev_loop *default_loop; |
41 | unsigned int supported_backends; |
41 | unsigned int supported_backends; |
42 | unsigned int recommended_backends; |
42 | unsigned int recommended_backends; |
43 | unsigned int embeddable_backends; |
43 | unsigned int embeddable_backends; |
… | |
… | |
93 | void (*async_send) (EV_P_ ev_async *); |
93 | void (*async_send) (EV_P_ ev_async *); |
94 | /* TODO: move up on next major API bump */ |
94 | /* TODO: move up on next major API bump */ |
95 | void (*now_update) (EV_P); |
95 | void (*now_update) (EV_P); |
96 | void (*suspend) (EV_P); |
96 | void (*suspend) (EV_P); |
97 | void (*resume) (EV_P); |
97 | void (*resume) (EV_P); |
|
|
98 | unsigned int (*loop_depth)(EV_P); |
98 | }; |
99 | }; |
99 | |
100 | |
100 | #if !EV_PROTOTYPES |
101 | #if !EV_PROTOTYPES |
101 | # undef EV_DEFAULT |
102 | # undef EV_DEFAULT |
102 | # undef EV_DEFAULT_ |
103 | # undef EV_DEFAULT_ |