X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/0af52f411dbf7d205e84883d4557a4af01533ac0..91c2e643914a5e26e943053c60055bb839204d38:/ev_wrap.h diff --git a/ev_wrap.h b/ev_wrap.h index f7e3bea..ba028ae 100644 --- a/ev_wrap.h +++ b/ev_wrap.h @@ -1,10 +1,12 @@ /* 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 backend ((loop)->backend) #define activecnt ((loop)->activecnt) -#define loop_count ((loop)->loop_count); +#define loop_count ((loop)->loop_count) #define backend_fudge ((loop)->backend_fudge) #define backend_modify ((loop)->backend_modify) #define backend_poll ((loop)->backend_poll) @@ -60,3 +62,67 @@ #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 backend +#undef activecnt +#undef loop_count +#undef backend_fudge +#undef backend_modify +#undef backend_poll +#undef backend_fd +#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