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

_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to