diff options
author | llucax <llucax> | 2008-01-18 18:15:01 +0000 |
---|---|---|
committer | llucax <llucax> | 2008-01-18 18:15:01 +0000 |
commit | 579d50f688ede8cb045cb67ae65c6bbd2f5cb6ff (patch) | |
tree | 7d5228179c821767063e3be3e0fb5e29731537b7 | |
parent | feb32e0f9e58b4437caf5b9436328dc4f444f1e7 (diff) |
Add missing ev_time () to ev namespace, but renamed as now ().
Note there is no colission with ev_now (), which is a member function of
loop_ref named in the C++ interface.
-rw-r--r-- | ev++.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -497,6 +497,11 @@ namespace ev { } }; + inline tstamp now () + { + return ev_time (); + } + inline void delay (tstamp interval) { ev_sleep (interval); |