summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ev++.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ev++.h b/ev++.h
index aa90c37..889603a 100644
--- a/ev++.h
+++ b/ev++.h
@@ -497,6 +497,11 @@ namespace ev {
}
};
+ inline tstamp now ()
+ {
+ return ev_time ();
+ }
+
inline void delay (tstamp interval)
{
ev_sleep (interval);