Browse Source

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.
master
llucax 14 years ago
parent
commit
a836b93fee
  1. 5
      ev++.h

5
ev++.h

@ -497,6 +497,11 @@ namespace ev {
}
};
inline tstamp now ()
{
return ev_time ();
}
inline void delay (tstamp interval)
{
ev_sleep (interval);

Loading…
Cancel
Save