summaryrefslogtreecommitdiff
path: root/ev++.h
diff options
context:
space:
mode:
authorroot <root>2009-12-26 09:21:54 +0000
committerroot <root>2009-12-26 09:21:54 +0000
commit48be09ae804dedbb4c1049607eac8e0083cdc60e (patch)
tree8690bf72daafd4e282bfd6830c045cd97fc21968 /ev++.h
parent281663f4e9b5029ab9cd09cf4754de3165138ab7 (diff)
*** empty log message ***
Diffstat (limited to 'ev++.h')
-rw-r--r--ev++.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ev++.h b/ev++.h
index fd2563f..73bcf32 100644
--- a/ev++.h
+++ b/ev++.h
@@ -644,6 +644,11 @@ namespace ev {
{
ev_timer_again (EV_A_ static_cast<ev_timer *>(this));
}
+
+ ev_tstamp remaining ()
+ {
+ return ev_timer_remaining (EV_A_ static_cast<ev_timer *>(this));
+ }
EV_END_WATCHER (timer, timer)
#if EV_PERIODIC_ENABLE