Typos in the doc
Gabriel Kerneis
kerneis at pps.jussieu.fr
Thu Jun 18 15:32:33 CEST 2009
Hi,
a few typos I spotted in the doc:
[http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod]
* In "ASSOCIATING CUSTOM DATA WITH A WATCHER"
struct my_biggy big = (struct my_biggy *
(((char *)w) - offsetof (struct my_biggy, t1));
instead of:
struct my_biggy big = (struct my_biggy *)
(((char *)w) - offsetof (struct my_biggy, t1));
* Same mistake a few lines below.
* In "ev_idle - when you've got nothing better to do..."
ev_idle_start (loop, idle_cb);
instead of:
ev_idle_start (loop, idle_watcher);
Regards,
--
Gabriel Kerneis
More information about the libev
mailing list