]> git.llucax.com Git - software/libev.git/blobdiff - ev++.h
Add missing ev_time () to ev namespace, but renamed as now ().
[software/libev.git] / ev++.h
diff --git a/ev++.h b/ev++.h
index aa90c37c996a7a0a87df664d88c516d994f52d21..889603a7168d0509779157c31f1d12b468bbc184 100644 (file)
--- 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);