X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/eb7909955a094de6e667e3e9f88ddbad46fc93b6..dfa948951dd77048e8b05540d86c4ffe1a0205d2:/ev_vars.h?ds=sidebyside diff --git a/ev_vars.h b/ev_vars.h index fa6ae9b..36e7485 100644 --- a/ev_vars.h +++ b/ev_vars.h @@ -63,19 +63,22 @@ VARx(int *, fdchanges) VARx(int, fdchangemax) VARx(int, fdchangecnt) -VARx(struct ev_timer **, timers) +VARx(WT *, timers) VARx(int, timermax) VARx(int, timercnt) #if EV_PERIODIC_ENABLE || EV_GENWRAP -VARx(struct ev_periodic **, periodics) +VARx(WT *, periodics) VARx(int, periodicmax) VARx(int, periodiccnt) #endif -VARx(struct ev_idle **, idles) -VARx(int, idlemax) -VARx(int, idlecnt) +#if EV_IDLE_ENABLE || EV_GENWRAP +VAR (idles, ev_idle **idles [NUMPRI]) +VAR (idlemax, int idlemax [NUMPRI]) +VAR (idlecnt, int idlecnt [NUMPRI]) +#endif +VARx(int, idleall) /* total number */ VARx(struct ev_prepare **, prepares) VARx(int, preparemax)