diff options
author | root <root> | 2009-07-15 16:58:53 +0000 |
---|---|---|
committer | root <root> | 2009-07-15 16:58:53 +0000 |
commit | 5c8cc800f487e020d33cd08727c442b6a8067d9d (patch) | |
tree | 96448386bbc5985c4bdd4e685abf06f27a89d401 /ev.c | |
parent | 2978dc2e820ccb62fe7f3b35a0672455e592017e (diff) |
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r-- | ev.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -2489,6 +2489,12 @@ ev_timer_again (EV_P_ ev_timer *w) EV_FREQUENT_CHECK; } +ev_tstamp +ev_timer_remaining (EV_P_ ev_timer *w) +{ + return ev_at (w) - (ev_is_active (w) ? mn_now : 0.); +} + #if EV_PERIODIC_ENABLE void noinline ev_periodic_start (EV_P_ ev_periodic *w) |