X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/23f51f36bfcf6f217b2a14967f968af5dd4675e7..9b47da80fe3aeb57d3340a633c83dd6e08bcc8e4:/ev_wrap.h diff --git a/ev_wrap.h b/ev_wrap.h index e409da9..f9bc61e 100644 --- a/ev_wrap.h +++ b/ev_wrap.h @@ -1,13 +1,20 @@ /* DO NOT EDIT, automatically generated by update_ev_wrap */ +#ifndef EV_WRAP_H +#define EV_WRAP_H #define now_floor ((loop)->now_floor) #define mn_now ((loop)->mn_now) #define rtmn_diff ((loop)->rtmn_diff) +#define io_blocktime ((loop)->io_blocktime) +#define timeout_blocktime ((loop)->timeout_blocktime) #define backend ((loop)->backend) +#define activecnt ((loop)->activecnt) +#define loop_count ((loop)->loop_count) +#define backend_fd ((loop)->backend_fd) #define backend_fudge ((loop)->backend_fudge) #define backend_modify ((loop)->backend_modify) #define backend_poll ((loop)->backend_poll) +#define curpid ((loop)->curpid) #define postfork ((loop)->postfork) -#define activecnt ((loop)->activecnt) #define vec_ri ((loop)->vec_ri) #define vec_ro ((loop)->vec_ro) #define vec_wi ((loop)->vec_wi) @@ -18,16 +25,13 @@ #define pollcnt ((loop)->pollcnt) #define pollidxs ((loop)->pollidxs) #define pollidxmax ((loop)->pollidxmax) -#define epoll_fd ((loop)->epoll_fd) #define epoll_events ((loop)->epoll_events) #define epoll_eventmax ((loop)->epoll_eventmax) -#define kqueue_fd ((loop)->kqueue_fd) #define kqueue_changes ((loop)->kqueue_changes) #define kqueue_changemax ((loop)->kqueue_changemax) #define kqueue_changecnt ((loop)->kqueue_changecnt) #define kqueue_events ((loop)->kqueue_events) #define kqueue_eventmax ((loop)->kqueue_eventmax) -#define port_fd ((loop)->port_fd) #define port_events ((loop)->port_events) #define port_eventmax ((loop)->port_eventmax) #define anfds ((loop)->anfds) @@ -47,9 +51,82 @@ #define idles ((loop)->idles) #define idlemax ((loop)->idlemax) #define idlecnt ((loop)->idlecnt) +#define idleall ((loop)->idleall) #define prepares ((loop)->prepares) #define preparemax ((loop)->preparemax) #define preparecnt ((loop)->preparecnt) #define checks ((loop)->checks) #define checkmax ((loop)->checkmax) #define checkcnt ((loop)->checkcnt) +#define forks ((loop)->forks) +#define forkmax ((loop)->forkmax) +#define forkcnt ((loop)->forkcnt) +#define fs_fd ((loop)->fs_fd) +#define fs_w ((loop)->fs_w) +#define fs_hash ((loop)->fs_hash) +#else +#undef EV_WRAP_H +#undef now_floor +#undef mn_now +#undef rtmn_diff +#undef io_blocktime +#undef timeout_blocktime +#undef backend +#undef activecnt +#undef loop_count +#undef backend_fd +#undef backend_fudge +#undef backend_modify +#undef backend_poll +#undef curpid +#undef postfork +#undef vec_ri +#undef vec_ro +#undef vec_wi +#undef vec_wo +#undef vec_max +#undef polls +#undef pollmax +#undef pollcnt +#undef pollidxs +#undef pollidxmax +#undef epoll_events +#undef epoll_eventmax +#undef kqueue_changes +#undef kqueue_changemax +#undef kqueue_changecnt +#undef kqueue_events +#undef kqueue_eventmax +#undef port_events +#undef port_eventmax +#undef anfds +#undef anfdmax +#undef pendings +#undef pendingmax +#undef pendingcnt +#undef fdchanges +#undef fdchangemax +#undef fdchangecnt +#undef timers +#undef timermax +#undef timercnt +#undef periodics +#undef periodicmax +#undef periodiccnt +#undef idles +#undef idlemax +#undef idlecnt +#undef idleall +#undef prepares +#undef preparemax +#undef preparecnt +#undef checks +#undef checkmax +#undef checkcnt +#undef forks +#undef forkmax +#undef forkcnt +#undef fs_fd +#undef fs_w +#undef fs_hash +#endif