On Tue, May 06, 2014 at 10:43:23AM +0200, Laska Radek <[email protected]>
wrote:
> 1) There is example in documentation how avoid this. Is this example
> correct? I think there should be:
> ev_timer_set (&timer, after + (ev_time () - ev_now () ), 0.);
> instead of:
> ev_timer_set (&timer, after + ev_now () - ev_time (), 0.);
Well spotted - yes, you are right, the formula in the documentation was
wrong (and is now fixed).
> 2) It will be nice add ev_time to C++ wrapper (ev++.h). Is it possible
> in next version?
It's already there, as ev++.h provides all of ev.h as well, so ev_time is
available whenever you include ev++.h
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / [email protected]
-=====/_/_//_/\_,_/ /_/\_\
_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev