"subclassing" the watcher

Kandalintsev Alexandre exe at agava.com
Tue Sep 16 15:43:36 CEST 2008


> It's correct, because casting &my_io->io to struct my_io gives you the
> address of &my_io in the example

Oh, The first element of the struct has adress of the struct due to
zero offset. How can I forgot this? Sorry for disturbing :)

---
//Kandalintsev Alexandre



More information about the libev mailing list