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 15 years ago
parent 8218239271
commit a836b93fee

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

Loading…
Cancel
Save